[asterisk-commits] mmichelson: trunk r85883 - /trunk/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 16 11:40:25 CDT 2007


Author: mmichelson
Date: Tue Oct 16 11:40:24 2007
New Revision: 85883

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85883
Log:
Fix IMAP compilation error.

(closes issue #10986, reported and patched by snuffy)


Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=85883&r1=85882&r2=85883
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Oct 16 11:40:24 2007
@@ -2545,7 +2545,7 @@
 	((char *)buf)[len] = '\0';
 	INIT(&str, mail_string, buf, len);
 	init_mailstream(vms, NEW_FOLDER);
-	imap_mailbox_name(mailbox, vms, NEW_FOLDER, 1);
+	imap_mailbox_name(mailbox, sizeof(mailbox), vms, NEW_FOLDER, 1);
 	if(!mail_append(vms->mailstream, mailbox, &str))
 		ast_log(LOG_ERROR, "Error while sending the message to %s\n", mailbox);
 	fclose(p);




More information about the asterisk-commits mailing list