1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s4:lib: use tevent_ fns names instead of legcay event_ ones

This commit is contained in:
Simo Sorce
2010-05-25 15:28:35 -04:00
committed by Simo Sorce
parent edc32665d0
commit 15efcbaa09
6 changed files with 28 additions and 28 deletions

View File

@ -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);
}

View File

@ -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);
}