summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-25 15:29:14 -0400
committerSimo Sorce <idra@samba.org>2011-08-14 00:38:13 +0200
commitc84caabf8c5061af75d9e046813c1e2e8eff3722 (patch)
tree8a3d17fba989ad958f6ca0bf5d0102f7f5d04f0a /source4/auth
parent15efcbaa09472b306a875178ee535a06d1b01811 (diff)
downloadsamba-c84caabf8c5061af75d9e046813c1e2e8eff3722.tar.gz
samba-c84caabf8c5061af75d9e046813c1e2e8eff3722.tar.bz2
samba-c84caabf8c5061af75d9e046813c1e2e8eff3722.zip
s4:misc: remove last usage of legacy event_ fn names
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Aug 14 00:38:13 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/gensec/socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/socket.c b/source4/auth/gensec/socket.c
index 38eab6ac44..4ee1512e89 100644
--- a/source4/auth/gensec/socket.c
+++ b/source4/auth/gensec/socket.c
@@ -204,7 +204,7 @@ static void gensec_socket_trigger_read(struct tevent_context *ev,
struct gensec_socket *gensec_socket = talloc_get_type(private_data, struct gensec_socket);
gensec_socket->in_extra_read++;
- gensec_socket->recv_handler(gensec_socket->recv_private, EVENT_FD_READ);
+ gensec_socket->recv_handler(gensec_socket->recv_private, TEVENT_FD_READ);
gensec_socket->in_extra_read--;
/* It may well be that, having run the recv handler, we still
@@ -212,7 +212,7 @@ static void gensec_socket_trigger_read(struct tevent_context *ev,
*/
if (gensec_socket->read_buffer.length && gensec_socket->recv_handler) {
/* Schedule this funcion to run again */
- event_add_timed(gensec_socket->ev, gensec_socket, timeval_zero(),
+ tevent_add_timer(gensec_socket->ev, gensec_socket, timeval_zero(),
gensec_socket_trigger_read, gensec_socket);
}
}
@@ -275,7 +275,7 @@ static NTSTATUS gensec_socket_recv(struct socket_context *sock, void *buf,
/* Manually call a read event, to get this moving
* again (as the socket should be dry, so the normal
* event handler won't trigger) */
- event_add_timed(gensec_socket->ev, gensec_socket, timeval_zero(),
+ tevent_add_timer(gensec_socket->ev, gensec_socket, timeval_zero(),
gensec_socket_trigger_read, gensec_socket);
}