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-4.0.0alpha6~801^2~5317 X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=cf0962789447d881cfeb220b4d20bcbcf0197fe8 r23940: Added missing line that was deleted accidently. Should fix the build. Jeremy. (This used to be commit b085366d5b982b635561f1d3211a6f3197258e6f) --- diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index 40dcecee260..872ec866446 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;