s3:smb2_server: use req->xconn in smbd_smb2_request_setup_out()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jun 2014 09:19:24 +0000 (11:19 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:12 +0000 (09:51 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/smbd/smb2_server.c

index c7506cb5477b2913bde55d8f92c64b99e35052e2..a6f083315230710d8380813493127301852fa357 100644 (file)
@@ -936,7 +936,7 @@ DATA_BLOB smbd_smb2_generate_outbody(struct smbd_smb2_request *req, size_t size)
 
 static NTSTATUS smbd_smb2_request_setup_out(struct smbd_smb2_request *req)
 {
-       struct smbXsrv_connection *xconn = req->sconn->conn;
+       struct smbXsrv_connection *xconn = req->xconn;
        TALLOC_CTX *mem_ctx;
        struct iovec *vector;
        int count;