[asterisk-commits] qwell: branch 13 r420592 - /branches/13/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 8 15:08:30 CDT 2014


Author: qwell
Date: Fri Aug  8 15:08:26 2014
New Revision: 420592

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=420592
Log:
Fix build in devmode.

Modified:
    branches/13/apps/app_voicemail.c

Modified: branches/13/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/13/apps/app_voicemail.c?view=diff&rev=420592&r1=420591&r2=420592
==============================================================================
--- branches/13/apps/app_voicemail.c (original)
+++ branches/13/apps/app_voicemail.c Fri Aug  8 15:08:26 2014
@@ -5066,8 +5066,8 @@
 			prep_email_sub_vars(ast, vmu, msgnum + 1, context, mailbox, fromfolder, cidnum, cidname, dur, date, category, flag);
 			ast_str_substitute_variables(&str1, 0, ast, e_subj);
 			if (check_mime(ast_str_buffer(str1))) {
+				char *ptr;
 				first_line = 1;
-				char *ptr;
 				ast_str_encode_mime(&str2, 0, ast_str_buffer(str1), strlen("Subject: "), 0);
 				while ((ptr = strchr(ast_str_buffer(str2), ' '))) {
 					*ptr = '\0';




More information about the asterisk-commits mailing list