[asterisk-commits] mjordan: branch 10-digiumphones r397704 - /branches/10-digiumphones/apps/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 27 09:58:33 CDT 2013


Author: mjordan
Date: Tue Aug 27 09:58:31 2013
New Revision: 397704

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=397704
Log:
Fix compilation error introduced in r388815

r388815 didn't not cleanly apply the intended patch. As a result, app_voicemail
had a small issue in that it didn't compile. Whoops.

This patch pulls in the correct variable declarations such that gcc can figure
out what 'urgent_index' is all about.

Modified:
    branches/10-digiumphones/apps/app_voicemail.c

Modified: branches/10-digiumphones/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/10-digiumphones/apps/app_voicemail.c?view=diff&rev=397704&r1=397703&r2=397704
==============================================================================
--- branches/10-digiumphones/apps/app_voicemail.c (original)
+++ branches/10-digiumphones/apps/app_voicemail.c Tue Aug 27 09:58:31 2013
@@ -14396,8 +14396,10 @@
 	int i;
 	int this_index_only = -1;
 	int open = 0;
-	int inbox_index = 0;
-	int old_index = 1;
+	int inbox_index = get_folder_by_name("INBOX");
+	int old_index = get_folder_by_name("Old");
+	int urgent_index = get_folder_by_name("Urgent");
+
 
 	if (ast_strlen_zero(mailbox)) {
 		ast_log(LOG_WARNING, "Cannot create a mailbox snapshot since no mailbox was specified\n");




More information about the asterisk-commits mailing list