[asterisk-commits] app voicemail.c: Fix IMAP compile error. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 20 14:45:17 CDT 2016


Anonymous Coward #1000019 has submitted this change and it was merged.

Change subject: app_voicemail.c: Fix IMAP compile error.
......................................................................


app_voicemail.c: Fix IMAP compile error.

Fix compile error introduced by the patch for
ASTERISK-26045

Change-Id: I5b02876266f2824f4cec2b54d6ff4db5de5778d3
---
M apps/app_voicemail.c
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Mark Michelson: Looks good to me, approved
  Anonymous Coward #1000019: Verified
  Joshua Colp: Looks good to me, but someone else must approve



diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 586086c..6607f52 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -3263,7 +3263,8 @@
 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;
 	}
 

-- 
To view, visit https://gerrit.asterisk.org/3045
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5b02876266f2824f4cec2b54d6ff4db5de5778d3
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>



More information about the asterisk-commits mailing list