summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 7b0aa436a6..ddd5ae2449 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -887,7 +887,7 @@ connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
if ((!conn->printer) && (!conn->ipc)) {
conn->notify_ctx = notify_init(conn,
sconn_server_id(sconn),
- smbd_messaging_context(),
+ sconn->msg_ctx,
smbd_event_context(),
conn);
}