summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commit52a738301aae2b646ffdb621f2c09ad943ad3f63 (patch)
treea28422af20c9bf02832c46cb74f2902e987c0dd5 /source3/smbd
parent6a5bdb79e136f8cf123e36070640244ad924b274 (diff)
downloadsamba-52a738301aae2b646ffdb621f2c09ad943ad3f63.tar.gz
samba-52a738301aae2b646ffdb621f2c09ad943ad3f63.tar.bz2
samba-52a738301aae2b646ffdb621f2c09ad943ad3f63.zip
r24400: Fix a valgrind bug
(This used to be commit 7c65deaed734f5623813922637877b94fc9a6259)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/notify.c6
1 files changed, 4 insertions, 2 deletions
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);