]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
app_voicemail.c: Fix IMAP compile error. 45/3045/2
authorRichard Mudgett <rmudgett@digium.com>
Mon, 20 Jun 2016 17:13:27 +0000 (12:13 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 20 Jun 2016 17:17:25 +0000 (12:17 -0500)
Fix compile error introduced by the patch for
ASTERISK-26045

Change-Id: I5b02876266f2824f4cec2b54d6ff4db5de5778d3

apps/app_voicemail.c

index 586086c55a934de22a4745a752404df4a3c5e491..6607f529e8d3386d60d2112cbc8aba3e337f9278 100644 (file)
@@ -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;
        }