diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-14 18:24:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:23 -0500 |
commit | bdc2a850daa7f0c4636df7548a748309f95fc417 (patch) | |
tree | 296635ac5ca20c908e755bbe8f71f3091fbd3dfb | |
parent | d09a32f5d795ad9ddf6ed5d67f2b1f2b4480dcf0 (diff) | |
download | samba-bdc2a850daa7f0c4636df7548a748309f95fc417.tar.gz samba-bdc2a850daa7f0c4636df7548a748309f95fc417.tar.bz2 samba-bdc2a850daa7f0c4636df7548a748309f95fc417.zip |
r12239: as we only get error from our events system when we wait for read events,
we need to initialy ask for read events too, otherwise we'll never get an
error back from socket_connect()
metze
(This used to be commit 7d94054d0fc954e6d810573430f2c5d35b73125d)
-rw-r--r-- | source4/lib/socket/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/socket/connect.c b/source4/lib/socket/connect.c index 116a8c67d8..4dc1053021 100644 --- a/source4/lib/socket/connect.c +++ b/source4/lib/socket/connect.c @@ -76,7 +76,7 @@ static void socket_send_connect(struct composite_context *result) fde = event_add_fd(result->event_ctx, result, socket_get_fd(state->sock), - EVENT_FD_WRITE, + EVENT_FD_READ|EVENT_FD_WRITE, socket_connect_handler, result); composite_nomem(fde, result); } |