diff options
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 79218ba910..6d749d9e9a 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3317,7 +3317,7 @@ void reply_read(struct smb_request *req) int outsize = 0; files_struct *fsp; struct lock_struct lock; - struct smbd_server_connection *sconn = smbd_server_conn; + struct smbd_server_connection *sconn = req->sconn; START_PROFILE(SMBread); |