summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-25 15:28:35 -0400
committerSimo Sorce <idra@samba.org>2011-08-13 09:54:16 -0400
commit15efcbaa09472b306a875178ee535a06d1b01811 (patch)
tree3916f26e079ccb3490fc12eccb6dbf9d5974e131 /source4/lib/socket
parentedc32665d0f5cfd5d86f975c8ac8e8ff100956f7 (diff)
downloadsamba-15efcbaa09472b306a875178ee535a06d1b01811.tar.gz
samba-15efcbaa09472b306a875178ee535a06d1b01811.tar.bz2
samba-15efcbaa09472b306a875178ee535a06d1b01811.zip
s4:lib: use tevent_ fns names instead of legcay event_ ones
Diffstat (limited to 'source4/lib/socket')
-rw-r--r--source4/lib/socket/connect.c4
-rw-r--r--source4/lib/socket/connect_multi.c2
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);
}