summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-07-17 23:57:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:47 -0500
commitcf0962789447d881cfeb220b4d20bcbcf0197fe8 (patch)
treeba88cea8378d3af3d06135b5cb6bfa9669bb7941 /source3/smbd
parented9e0d9a3acfa6ab05639da5c29e2edb07a9fb67 (diff)
downloadsamba-cf0962789447d881cfeb220b4d20bcbcf0197fe8.tar.gz
samba-cf0962789447d881cfeb220b4d20bcbcf0197fe8.tar.bz2
samba-cf0962789447d881cfeb220b4d20bcbcf0197fe8.zip
r23940: Added missing line that was deleted accidently.
Should fix the build. Jeremy. (This used to be commit b085366d5b982b635561f1d3211a6f3197258e6f)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 40dcecee26..872ec86644 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -175,6 +175,8 @@ void change_notify_reply(const char *request_buf, uint32 max_param,
goto done;
}
+ buflen = smb_size+38+prs_offset(&ps) + 4 /* padding */;
+
if (!(outbuf = SMB_MALLOC_ARRAY(char, buflen))) {
change_notify_reply_packet(request_buf, NT_STATUS_NO_MEMORY);
goto done;