summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/server_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server_exit.c b/source3/smbd/server_exit.c
index c4e1a2fcea..97394aea96 100644
--- a/source3/smbd/server_exit.c
+++ b/source3/smbd/server_exit.c
@@ -90,7 +90,7 @@ static void exit_server_common(enum server_exit_reason how,
}
/* 3 second timeout. */
- print_notify_send_messages(smbd_messaging_context(), 3);
+ print_notify_send_messages(sconn->msg_ctx, 3);
/* delete our entry in the serverid database. */
if (am_parent) {