s3:smb2cli: SMB2_FLUSH responses have a body size of 4
authorStefan Metzmacher <metze@samba.org>
Sat, 17 Sep 2011 17:30:36 +0000 (19:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 18 Sep 2011 03:33:10 +0000 (05:33 +0200)
metze

source3/libsmb/smb2cli_flush.c

index 6fe7178d8676ccae4ec80024d44fa5841be3dd70..c7671482306a65531ec0f0e0ea2d954b91d6e3f3 100644 (file)
@@ -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;
        }