s3:smbd/service: avoid using server_event_context() for notify_init()
[mat/samba.git] / source3 / smbd / service.c
index f41bdb561c8eb7936dc1c782de99480f595fcb4c..bd762c742593d071873536b71ece94eab1d58b8e 100644 (file)
@@ -718,7 +718,7 @@ connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
                conn->notify_ctx = notify_init(conn,
                                               sconn_server_id(sconn),
                                               sconn->msg_ctx,
-                                              server_event_context(),
+                                              sconn->ev_ctx,
                                               conn);
        }