summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_periodic.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/repl/drepl_periodic.c')
-rw-r--r--source4/dsdb/repl/drepl_periodic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/repl/drepl_periodic.c b/source4/dsdb/repl/drepl_periodic.c
index 7205c8b0f1..4a6de8d700 100644
--- a/source4/dsdb/repl/drepl_periodic.c
+++ b/source4/dsdb/repl/drepl_periodic.c
@@ -34,7 +34,7 @@
static void dreplsrv_periodic_run(struct dreplsrv_service *service);
-static void dreplsrv_periodic_handler_te(struct event_context *ev, struct timed_event *te,
+static void dreplsrv_periodic_handler_te(struct tevent_context *ev, struct tevent_timer *te,
struct timeval t, void *ptr)
{
struct dreplsrv_service *service = talloc_get_type(ptr, struct dreplsrv_service);
@@ -54,7 +54,7 @@ static void dreplsrv_periodic_handler_te(struct event_context *ev, struct timed_
WERROR dreplsrv_periodic_schedule(struct dreplsrv_service *service, uint32_t next_interval)
{
TALLOC_CTX *tmp_mem;
- struct timed_event *new_te;
+ struct tevent_timer *new_te;
struct timeval next_time;
/* prevent looping */