summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-11 11:40:04 +0200
committerMichael Adam <obnox@samba.org>2014-08-06 09:51:13 +0200
commit4faec1ea91239e70952b71ad9ec2930cbd4d3c84 (patch)
treed8205d7f2eeb2e0d69a2923a106137c909e082ce /source3
parent7ee78c78e094f11c338ae39f4af2515709e32f57 (diff)
downloadsamba-4faec1ea91239e70952b71ad9ec2930cbd4d3c84.tar.gz
samba-4faec1ea91239e70952b71ad9ec2930cbd4d3c84.tar.xz
samba-4faec1ea91239e70952b71ad9ec2930cbd4d3c84.zip
s3:smb2_server: use req->xconn in smbd_smb2_request_error_ex()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 4b79e14015..9d694ea0e3 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -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);