diff options
Diffstat (limited to 'source4/lib/socket')
-rw-r--r-- | source4/lib/socket/connect.c | 4 | ||||
-rw-r--r-- | source4/lib/socket/connect_multi.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/socket/connect.c b/source4/lib/socket/connect.c index b943de8c14..1da8b41bbd 100644 --- a/source4/lib/socket/connect.c +++ b/source4/lib/socket/connect.c @@ -58,9 +58,9 @@ static void socket_send_connect(struct composite_context *result) return; } - fde = event_add_fd(result->event_ctx, result, + fde = tevent_add_fd(result->event_ctx, result, socket_get_fd(state->sock), - EVENT_FD_READ|EVENT_FD_WRITE, + TEVENT_FD_READ|TEVENT_FD_WRITE, socket_connect_handler, result); composite_nomem(fde, result); } diff --git a/source4/lib/socket/connect_multi.c b/source4/lib/socket/connect_multi.c index 4ce5115e97..96277a6139 100644 --- a/source4/lib/socket/connect_multi.c +++ b/source4/lib/socket/connect_multi.c @@ -161,7 +161,7 @@ static void connect_multi_next_socket(struct composite_context *result) /* note that this timer is a child of the single connect attempt state, so it will go away when this request completes */ - event_add_timed(result->event_ctx, state, + tevent_add_timer(result->event_ctx, state, timeval_current_ofs_usec(MULTI_PORT_DELAY), connect_multi_timer, result); } |