summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-14 08:23:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:40 -0500
commit7c65deaed734f5623813922637877b94fc9a6259 (patch)
treeb85e9dbbf545be358119de9668361cd33835e494 /source
parentbe67bb50eef88f4d56f48e785c1e5865616f5f33 (diff)
downloadsamba-7c65deaed734f5623813922637877b94fc9a6259.tar.gz
samba-7c65deaed734f5623813922637877b94fc9a6259.tar.xz
samba-7c65deaed734f5623813922637877b94fc9a6259.zip
r24400: Fix a valgrind bug
Diffstat (limited to 'source')
-rw-r--r--source/smbd/notify.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/smbd/notify.c b/source/smbd/notify.c
index 144af093cf3..cf64acae072 100644
--- a/source/smbd/notify.c
+++ b/source/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);