From: Richard Mudgett Date: Mon, 20 Jun 2016 17:13:27 +0000 (-0500) Subject: app_voicemail.c: Fix IMAP compile error. X-Git-Tag: 13.10.0-rc1~19^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1512f4108c7b455494dfa7779bf7fe671e0e4e6;p=thirdparty%2Fasterisk.git app_voicemail.c: Fix IMAP compile error. Fix compile error introduced by the patch for ASTERISK-26045 Change-Id: I5b02876266f2824f4cec2b54d6ff4db5de5778d3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index a561729fbd..e88d7069cf 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3263,7 +3263,8 @@ void mm_lsub(MAILSTREAM * stream, int delim, char *mailbox, long attributes) void mm_status(MAILSTREAM * stream, char *mailbox, MAILSTATUS * status) { struct ast_str *str; - if (!DEBUG_ATLEAST(5) || !(str = ast_str_create(MAX_OBJECT_FIELD))) { + + if (!DEBUG_ATLEAST(5) || !(str = ast_str_create(256))) { return; }