diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-20 15:18:38 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-22 23:23:19 +0100 |
commit | 1fab94a31bd6060fe64e1ac5245a19149b97e035 (patch) | |
tree | eb5a1d64c8ba624c90c7619b9799049ca9acf255 /source3/libsmb | |
parent | fdd82e69abfa05fe11523f5b158384cb82d3bc8b (diff) | |
download | samba-1fab94a31bd6060fe64e1ac5245a19149b97e035.tar.gz samba-1fab94a31bd6060fe64e1ac5245a19149b97e035.tar.bz2 samba-1fab94a31bd6060fe64e1ac5245a19149b97e035.zip |
s3: Explicitly handle inbuf in cli_echo_done
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clientgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 92b898146e..1b43809138 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -851,8 +851,9 @@ static void cli_echo_done(struct tevent_req *subreq) NTSTATUS status; uint32_t num_bytes; uint8_t *bytes; + uint8_t *inbuf; - status = cli_smb_recv(subreq, NULL, NULL, 0, NULL, NULL, + status = cli_smb_recv(subreq, state, &inbuf, 0, NULL, NULL, &num_bytes, &bytes); if (!NT_STATUS_IS_OK(status)) { tevent_req_nterror(req, status); |