diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 202664fc94..e3c9fc72e6 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -235,7 +235,7 @@ NTSTATUS change_notify_add_request(struct smb_request *req, { struct notify_change_request *request = NULL; struct notify_mid_map *map = NULL; - struct smbd_server_connection *sconn = smbd_server_conn; + struct smbd_server_connection *sconn = req->sconn; DEBUG(10, ("change_notify_add_request: Adding request for %s: " "max_param = %d\n", fsp_str_dbg(fsp), (int)max_param)); |