git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdd82e6
)
s3: Explicitly handle inbuf in cli_echo_done
author
Volker Lendecke
<vl@samba.org>
Sat, 20 Feb 2010 14:18:38 +0000
(15:18 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 22 Feb 2010 22:23:19 +0000
(23:23 +0100)
source3/libsmb/clientgen.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clientgen.c
b/source3/libsmb/clientgen.c
index 92b898146e528d921547b9c39bd415d12fa23015..1b438091389607fdc57dc8483a8029a930a41b0d 100644
(file)
--- 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);