diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-25 15:26:00 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-08-13 09:54:15 -0400 |
commit | f364daed2203170bc772c8ff9bb28f78da615669 (patch) | |
tree | af6d3ddae73e3b3d785ecbf7ebd89b7e3ebf4320 /source4/dsdb/repl | |
parent | 47b64573c0d41d418d441ffc40325b822bfadb26 (diff) | |
download | samba-f364daed2203170bc772c8ff9bb28f78da615669.tar.gz samba-f364daed2203170bc772c8ff9bb28f78da615669.tar.bz2 samba-f364daed2203170bc772c8ff9bb28f78da615669.zip |
s4:dsdb: use tevent_ fn names instaed of legacy event_ ones
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r-- | source4/dsdb/repl/drepl_notify.c | 2 | ||||
-rw-r--r-- | source4/dsdb/repl/drepl_periodic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/repl/drepl_notify.c b/source4/dsdb/repl/drepl_notify.c index 58081d4e11..cd248d5133 100644 --- a/source4/dsdb/repl/drepl_notify.c +++ b/source4/dsdb/repl/drepl_notify.c @@ -451,7 +451,7 @@ WERROR dreplsrv_notify_schedule(struct dreplsrv_service *service, uint32_t next_ /* reset the next scheduled timestamp */ service->notify.next_event = next_time; - new_te = event_add_timed(service->task->event_ctx, service, + new_te = tevent_add_timer(service->task->event_ctx, service, service->notify.next_event, dreplsrv_notify_handler_te, service); W_ERROR_HAVE_NO_MEMORY(new_te); diff --git a/source4/dsdb/repl/drepl_periodic.c b/source4/dsdb/repl/drepl_periodic.c index 4487bb025f..62b4092854 100644 --- a/source4/dsdb/repl/drepl_periodic.c +++ b/source4/dsdb/repl/drepl_periodic.c @@ -74,7 +74,7 @@ WERROR dreplsrv_periodic_schedule(struct dreplsrv_service *service, uint32_t nex /* reset the next scheduled timestamp */ service->periodic.next_event = next_time; - new_te = event_add_timed(service->task->event_ctx, service, + new_te = tevent_add_timer(service->task->event_ctx, service, service->periodic.next_event, dreplsrv_periodic_handler_te, service); W_ERROR_HAVE_NO_MEMORY(new_te); |