s3:nmbd: 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:03 +0000 (23:48 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/nmbd/nmbd_processlogon.c

index a37aebec9cc11c872e48dab600d811946a9ac7ea..78b6b95f962f2213e6759d145134f8bb0bbe5423 100644 (file)
@@ -529,7 +529,7 @@ logons are not enabled.\n", inet_ntoa(p->ip) ));
 
                        when = timeval_current_ofs_msec(lp_init_logon_delay());
                        p->locked = true;
-                       event_add_timed(nmbd_event_context(),
+                       tevent_add_timer(nmbd_event_context(),
                                        NULL,
                                        when,
                                        delayed_init_logon_handler,