From 42ef193dd22518b50e0af27b963078440f02b510 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 15 Oct 2005 12:23:33 +0000 Subject: r11090: we need this to run correct under socket_wrapper metze (This used to be commit 3f7b09a3086a8b6d255bc3fc5cd8882e12f05d10) --- source4/libcli/wrepl/winsrepl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/wrepl') diff --git a/source4/libcli/wrepl/winsrepl.c b/source4/libcli/wrepl/winsrepl.c index 82abd76665..61cf633b54 100644 --- a/source4/libcli/wrepl/winsrepl.c +++ b/source4/libcli/wrepl/winsrepl.c @@ -287,7 +287,7 @@ static void wrepl_connect_handler(struct event_context *ev, struct fd_event *fde wrepl_socket->fde = event_add_fd(wrepl_socket->event_ctx, wrepl_socket, socket_get_fd(wrepl_socket->sock), - 0, + EVENT_FD_WRITE, wrepl_handler, wrepl_socket); if (wrepl_socket->fde == NULL) { req->status = NT_STATUS_NO_MEMORY; -- cgit