From 9b8973d3b528169bf70a57f3cc17f35e51dfc81e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 7 Aug 2012 12:57:14 +0200 Subject: s3:smb2_server: make use of SMBD_SMB2_OUT_HDR_PTR() smbd_smb2_request_pending_queue() metze --- source3/smbd/smb2_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); } -- cgit