s4:misc: remove last usage of legacy event_ fn names
[idra/samba.git] / source4 / wrepl_server / wrepl_periodic.c
index 94391273ca978e7bb85fc5a32e6e752975781ae4..aecf47357ea6870496beb0d925b63285fef85d06 100644 (file)
@@ -89,7 +89,7 @@ NTSTATUS wreplsrv_periodic_schedule(struct wreplsrv_service *service, uint32_t n
        /* 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,
                                 wreplsrv_periodic_handler_te, service);
        NT_STATUS_HAVE_NO_MEMORY(new_te);