From f364daed2203170bc772c8ff9bb28f78da615669 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 25 May 2010 15:26:00 -0400 Subject: s4:dsdb: use tevent_ fn names instaed of legacy event_ ones --- source4/dsdb/repl/drepl_notify.c | 2 +- source4/dsdb/repl/drepl_periodic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb/repl') 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); -- cgit