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

Richard Mudgett asteriskteam at digium.com
Mon Jun 20 12:16:41 CDT 2016


Richard Mudgett has uploaded a new change for review.

  https://gerrit.asterisk.org/3045

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(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/45/3045/1

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: newchange
Gerrit-Change-Id: I5b02876266f2824f4cec2b54d6ff4db5de5778d3
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list