diff options
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); |