From: Jeremy Allison Date: Tue, 17 Jul 2007 23:57:13 +0000 (+0000) Subject: r23940: Added missing line that was deleted accidently. X-Git-Tag: samba-misc-tags/initial-v3-2-unstable~677 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b085366d5b982b635561f1d3211a6f3197258e6f;p=thirdparty%2Fsamba.git r23940: Added missing line that was deleted accidently. Should fix the build. Jeremy. --- diff --git a/source/smbd/notify.c b/source/smbd/notify.c index 40dcecee260..872ec866446 100644 --- a/source/smbd/notify.c +++ b/source/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;