summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-06-05 19:49:40 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-05 20:17:43 +0200
commitee83d1aead1a166af9554709d5e1c522d9c147cb (patch)
tree3a780b6d85320fe3eb697c1da3220c2700429de0 /source3/smbd
parent014ee5d0c21cd18d6c408c8e49331f0aa8611211 (diff)
downloadsamba-ee83d1aead1a166af9554709d5e1c522d9c147cb.tar.gz
samba-ee83d1aead1a166af9554709d5e1c522d9c147cb.tar.bz2
samba-ee83d1aead1a166af9554709d5e1c522d9c147cb.zip
s3:smbd: fix the logic for compounded requests
metze
Diffstat (limited to 'source3/smbd')
-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 be2f3b10e4..0413832f90 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -514,7 +514,7 @@ static NTSTATUS smbd_smb2_request_reply(struct smbd_smb2_request *req)
req->current_idx += 3;
- if (req->current_idx > req->in.vector_count) {
+ if (req->current_idx < req->out.vector_count) {
struct timeval zero = timeval_zero();
subreq = tevent_wakeup_send(req,
req->conn->smb2.event_ctx,