r26672: Janitorial: Remove uses of global_loadparm.
[bbaumbach/samba-autobuild/.git] / source4 / dsdb / repl / drepl_service.c
index c3238a206f26ef4af1232eda58591eccafa002e2..e212407e2406483920b15bee9b6a8b9cdddf9a2e 100644 (file)
@@ -185,7 +185,7 @@ static void dreplsrv_task_init(struct task_server *task)
  */
 static NTSTATUS dreplsrv_init(struct event_context *event_ctx, struct loadparm_context *lp_ctx, const struct model_ops *model_ops)
 {
-       return task_server_startup(event_ctx, model_ops, dreplsrv_task_init);
+       return task_server_startup(event_ctx, lp_ctx, model_ops, dreplsrv_task_init);
 }
 
 /*