summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-29 10:56:39 +0200
committerVolker Lendecke <vl@samba.org>2011-05-29 12:49:34 +0200
commit4ec00fd621e944ff979e9f0a20773202d8c66472 (patch)
tree9913c16d923ba5000b42ca57682360f5cce7ec95
parent8c1bb9b210fe8e7f27cfc57f7b097d9e4d3ba470 (diff)
downloadsamba-4ec00fd621e944ff979e9f0a20773202d8c66472.tar.gz
samba-4ec00fd621e944ff979e9f0a20773202d8c66472.tar.bz2
samba-4ec00fd621e944ff979e9f0a20773202d8c66472.zip
s3: Fix wct check in cli_sesssetup_blob_done
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 3921fbcb1c..0917886752 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1280,7 +1280,7 @@ static void cli_sesssetup_blob_done(struct tevent_req *subreq)
uint8_t *inbuf;
ssize_t ret;
- status = cli_smb_recv(subreq, state, &inbuf, 1, &wct, &vwv,
+ status = cli_smb_recv(subreq, state, &inbuf, 4, &wct, &vwv,
&num_bytes, &bytes);
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)