mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:smb2_server: make use of SMBD_SMB2_OUT_HDR_PTR() smbd_smb2_request_pending_queue()
metze
This commit is contained in:
parent
bfc87a4a76
commit
9b8973d3b5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user