s4-messaging: Pass the loadparm context, not just the messaging path
[jlayton/samba.git] / source4 / smbd / service_task.c
index f68805fde032a5147a6868fbcc803c19cf9a1421..4531c3aebca5561be7302cf8a3b9be14e7145926 100644 (file)
@@ -79,7 +79,7 @@ static void task_server_callback(struct tevent_context *event_ctx,
        task->lp_ctx = lp_ctx;
 
        task->msg_ctx = imessaging_init(task,
-                                       lpcfg_imessaging_path(task, task->lp_ctx),
+                                       task->lp_ctx,
                                        task->server_id,
                                        task->event_ctx, false);
        if (!task->msg_ctx) {