From d122bfc064a0265b1e08dd52bbce61caac1d6a6b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 20 Feb 2010 09:53:58 +0100 Subject: s3: Add a talloc_move for the inbuf to cli_smb_recv --- source3/libsmb/climessage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/libsmb/climessage.c') diff --git a/source3/libsmb/climessage.c b/source3/libsmb/climessage.c index 2c8ef58b51..170447b253 100644 --- a/source3/libsmb/climessage.c +++ b/source3/libsmb/climessage.c @@ -92,7 +92,7 @@ static void cli_message_start_done(struct tevent_req *subreq) uint8_t wct; uint16_t *vwv; - status = cli_smb_recv(subreq, 0, &wct, &vwv, NULL, NULL); + status = cli_smb_recv(subreq, NULL, NULL, 0, &wct, &vwv, NULL, NULL); if (!NT_STATUS_IS_OK(status)) { TALLOC_FREE(subreq); tevent_req_nterror(req, status); @@ -183,7 +183,7 @@ static void cli_message_text_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); @@ -234,7 +234,7 @@ static void cli_message_end_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); -- cgit