summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-08 09:13:17 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-08 12:52:52 +0200
commit83d262088bf6d826209ebad839059a7b2ebc45d0 (patch)
treea919ed0e9e29950a2d81c357c24800a7cb56df49 /source3/smbd/smb2_server.c
parent0067de20749d3cba7374ba494fd00a1ac71bbd95 (diff)
downloadsamba-83d262088bf6d826209ebad839059a7b2ebc45d0.tar.gz
samba-83d262088bf6d826209ebad839059a7b2ebc45d0.tar.xz
samba-83d262088bf6d826209ebad839059a7b2ebc45d0.zip
s3:smb2_server: make use of SMBD_SMB2_OUT_HDR_PTR() in smbd_smb2_request_pending_queue()
metze
Diffstat (limited to 'source3/smbd/smb2_server.c')
-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 e687b2ed891..5f4be28d349 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -1184,7 +1184,7 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req,
return NT_STATUS_OK;
}
- outhdr = (uint8_t *)req->out.vector[i].iov_base;
+ outhdr = SMBD_SMB2_OUT_HDR_PTR(req);
flags = IVAL(outhdr, SMB2_HDR_FLAGS);
if (flags & SMB2_HDR_FLAG_ASYNC) {
/* We're already async. */