s3:smb2_server: use req->xconn in smbd_smb2_request_error_ex()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jun 2014 09:40:04 +0000 (11:40 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 6 Aug 2014 07:51:13 +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 4b79e140158d3f3f72f7bc3e28ec90612ca2dd55..9d694ea0e36a019353f08f485acc34bb912c3609 100644 (file)
@@ -2663,7 +2663,7 @@ NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
                                    DATA_BLOB *info,
                                    const char *location)
 {
-       struct smbXsrv_connection *xconn = req->sconn->conn;
+       struct smbXsrv_connection *xconn = req->xconn;
        DATA_BLOB body;
        DATA_BLOB _dyn;
        uint8_t *outhdr = SMBD_SMB2_OUT_HDR_PTR(req);