diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-07 12:57:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-07 18:32:46 +0200 |
commit | 9b8973d3b528169bf70a57f3cc17f35e51dfc81e (patch) | |
tree | ac9cae30b817d101218b6bbab3b9e952068ad991 | |
parent | bfc87a4a76294b26f6031547e18228afd4d535e5 (diff) | |
download | samba-9b8973d3b528169bf70a57f3cc17f35e51dfc81e.tar.gz samba-9b8973d3b528169bf70a57f3cc17f35e51dfc81e.tar.bz2 samba-9b8973d3b528169bf70a57f3cc17f35e51dfc81e.zip |
s3:smb2_server: make use of SMBD_SMB2_OUT_HDR_PTR() smbd_smb2_request_pending_queue()
metze
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 9766d48f72..171c999255 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -1247,7 +1247,7 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req, req->current_idx = 1; req->out.vector_count = 4; - outhdr = (uint8_t *)req->out.vector[1].iov_base; + outhdr = SMBD_SMB2_OUT_HDR_PTR(req); flags = (IVAL(outhdr, SMB2_HDR_FLAGS) & ~SMB2_HDR_FLAG_CHAINED); SIVAL(outhdr, SMB2_HDR_FLAGS, flags); } |