summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 4d1aea9b81..d9cb788ca3 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2040,7 +2040,7 @@ void reply_open_and_X(struct smb_request *req)
void reply_ulogoffX(struct smb_request *req)
{
- struct smbd_server_connection *sconn = smbd_server_conn;
+ struct smbd_server_connection *sconn = req->sconn;
user_struct *vuser;
START_PROFILE(SMBulogoffX);