summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-04-23 15:35:34 -0700
committerJeremy Allison <jra@samba.org>2010-04-23 15:35:34 -0700
commit247273196ff8035ef16805f04fe7c32ef9a8be50 (patch)
tree8d7c455478624a6c972294ba99b6c2fceed0ffa0 /source3
parent0e6f4ed7035a3536c94d248b2ca9f890b0f07fb3 (diff)
downloadsamba-247273196ff8035ef16805f04fe7c32ef9a8be50.tar.gz
samba-247273196ff8035ef16805f04fe7c32ef9a8be50.tar.bz2
samba-247273196ff8035ef16805f04fe7c32ef9a8be50.zip
When sending the initial async response, this is never part of a chain.
Get the reply flags correct. Jeremy.
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 c838954836..04cace8a59 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -713,7 +713,7 @@ NTSTATUS smbd_smb2_request_pending_queue(struct smbd_smb2_request *req,
}
reqhdr = (uint8_t *)req->out.vector[i].iov_base;
- flags = IVAL(reqhdr, SMB2_HDR_FLAGS);
+ flags = (IVAL(reqhdr, SMB2_HDR_FLAGS) & ~SMB2_HDR_FLAG_CHAINED);
message_id = BVAL(reqhdr, SMB2_HDR_MESSAGE_ID);
async_id = message_id; /* keep it simple for now... */