s3:smbd: use req->sconn in reply_negprot()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jun 2014 10:42:56 +0000 (12:42 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 19 Sep 2014 07:15:11 +0000 (09:15 +0200)
xconn->sconn will go away soon.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
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);