From 52a738301aae2b646ffdb621f2c09ad943ad3f63 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 14 Aug 2007 08:23:54 +0000 Subject: r24400: Fix a valgrind bug (This used to be commit 7c65deaed734f5623813922637877b94fc9a6259) --- source3/smbd/notify.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/smbd/notify.c') diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 144af093cf..cf64acae07 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -180,10 +180,12 @@ void change_notify_reply(const uint8 *request_buf, uint32 max_param, goto done; } + smb_setlen(NULL, request_buf, smb_size); + init_smb_request(req, request_buf); - send_nt_replies_new(req, NT_STATUS_OK, prs_data_p(&ps), - prs_offset(&ps), NULL, 0); + send_nt_replies(req, NT_STATUS_OK, prs_data_p(&ps), + prs_offset(&ps), NULL, 0); done: TALLOC_FREE(req); -- cgit