s3:smbd: use req->sconn in reply_negprot()
[mat/samba.git] / source3 / smbd / negprot.c
index 86a4acd7d365dcdc66362ca27c4932fb9a5d72b9..42fe48ec999610be530cf0b791d56d9e881cef81 100644 (file)
@@ -517,7 +517,7 @@ void reply_negprot(struct smb_request *req)
        int i;
        size_t converted_size;
        struct smbXsrv_connection *xconn = req->xconn;
-       struct smbd_server_connection *sconn = xconn->sconn;
+       struct smbd_server_connection *sconn = req->sconn;
 
        START_PROFILE(SMBnegprot);