summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-17 19:30:36 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-18 05:33:10 +0200
commita0dcbf8d628ac19861648f914f576c1addce7b79 (patch)
treef053fd32a4ca36b2cdb7ed938f925b01ddfaf208
parent80d643f7e374c650ac827117654cd50ee7d84bfa (diff)
downloadsamba-a0dcbf8d628ac19861648f914f576c1addce7b79.tar.gz
samba-a0dcbf8d628ac19861648f914f576c1addce7b79.tar.bz2
samba-a0dcbf8d628ac19861648f914f576c1addce7b79.zip
s3:smb2cli: SMB2_FLUSH responses have a body size of 4
metze
-rw-r--r--source3/libsmb/smb2cli_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_flush.c b/source3/libsmb/smb2cli_flush.c
index 6fe7178d86..c767148230 100644
--- a/source3/libsmb/smb2cli_flush.c
+++ b/source3/libsmb/smb2cli_flush.c
@@ -73,7 +73,7 @@ static void smb2cli_flush_done(struct tevent_req *subreq)
NTSTATUS status;
struct iovec *iov;
- status = smb2cli_req_recv(subreq, talloc_tos(), &iov, 60);
+ status = smb2cli_req_recv(subreq, talloc_tos(), &iov, 4);
if (tevent_req_nterror(req, status)) {
return;
}