summaryrefslogtreecommitdiff
path: root/source3/libsmb/clioplock.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-20 09:53:58 +0100
committerVolker Lendecke <vl@samba.org>2010-02-22 23:23:18 +0100
commitd122bfc064a0265b1e08dd52bbce61caac1d6a6b (patch)
tree9b3f7d7526c81e1d089f187ed559244df843f9dd /source3/libsmb/clioplock.c
parent91bf841c2e2997f7b39e3e757d3b88054829ed62 (diff)
downloadsamba-d122bfc064a0265b1e08dd52bbce61caac1d6a6b.tar.gz
samba-d122bfc064a0265b1e08dd52bbce61caac1d6a6b.tar.bz2
samba-d122bfc064a0265b1e08dd52bbce61caac1d6a6b.zip
s3: Add a talloc_move for the inbuf to cli_smb_recv
Diffstat (limited to 'source3/libsmb/clioplock.c')
-rw-r--r--source3/libsmb/clioplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clioplock.c b/source3/libsmb/clioplock.c
index 7350c4aaa3..8904ac973f 100644
--- a/source3/libsmb/clioplock.c
+++ b/source3/libsmb/clioplock.c
@@ -66,7 +66,7 @@ static void cli_oplock_ack_done(struct tevent_req *subreq)
subreq, struct tevent_req);
NTSTATUS status;
- status = cli_smb_recv(subreq, 0, NULL, NULL, NULL, NULL);
+ status = cli_smb_recv(subreq, NULL, NULL, 0, NULL, NULL, NULL, NULL);
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);