ossp-pkg/l2/l2_ch_socket.c 1.14 -> 1.15
--- l2_ch_socket.c 2001/09/06 14:37:53 1.14
+++ l2_ch_socket.c 2001/09/06 14:43:25 1.15
@@ -271,14 +271,6 @@
return L2_OK;
}
-/* flush channel */
-static l2_result_t hook_flush(l2_context_t *ctx, l2_channel_t *ch)
-{
- /* NOP for this channel, because Unix I/O sockets are unbuffered! */
-
- return L2_OK;
-}
-
/* close channel */
static l2_result_t hook_close(l2_context_t *ctx, l2_channel_t *ch)
{
@@ -317,7 +309,7 @@
hook_configure,
hook_open,
hook_write,
- hook_flush,
+ NULL,
hook_close,
hook_destroy
};
|
|