s3:lib: s/event_add_timed/tevent_add_timer
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2013 09:57:54 +0000 (10:57 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2013 22:48:04 +0000 (23:48 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/lib/ctdbd_conn.c

index 1a74e272586c8b475b633f67bdf3f30ddbf101c0..2cf5e472b0a2dc6a520d075fb67fc8e2bc74f215 100644 (file)
@@ -476,7 +476,7 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32_t reqid,
                 * We're waiting for a call reply, but an async message has
                 * crossed. Defer dispatching to the toplevel event loop.
                 */
-               evt = event_add_timed(conn->msg_ctx->event_ctx,
+               evt = tevent_add_timer(conn->msg_ctx->event_ctx,
                                      conn->msg_ctx->event_ctx,
                                      timeval_zero(),
                                      deferred_message_dispatch,