summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-15 12:23:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:44:47 -0500
commit42ef193dd22518b50e0af27b963078440f02b510 (patch)
treefd810e681fa32b425a0ea4cf755521062ddd0dbf
parent305b2b0c492626a0f03a1a53ffba60a94061d94d (diff)
downloadsamba-42ef193dd22518b50e0af27b963078440f02b510.tar.gz
samba-42ef193dd22518b50e0af27b963078440f02b510.tar.bz2
samba-42ef193dd22518b50e0af27b963078440f02b510.zip
r11090: we need this to run correct under socket_wrapper
metze (This used to be commit 3f7b09a3086a8b6d255bc3fc5cd8882e12f05d10)
-rw-r--r--source4/libcli/wrepl/winsrepl.c2
1 files changed, 1 insertions, 1 deletions
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;