[asterisk-commits] tilghman: branch 1.6.2 r280671 - /branches/1.6.2/apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 2 16:26:15 CDT 2010


Author: tilghman
Date: Mon Aug  2 16:26:11 2010
New Revision: 280671

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=280671
Log:
Allow the pipe, but also allow the comma

Modified:
    branches/1.6.2/apps/app_voicemail.c

Modified: branches/1.6.2/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_voicemail.c?view=diff&rev=280671&r1=280670&r2=280671
==============================================================================
--- branches/1.6.2/apps/app_voicemail.c (original)
+++ branches/1.6.2/apps/app_voicemail.c Mon Aug  2 16:26:11 2010
@@ -11215,7 +11215,7 @@
 						if ((z = ast_malloc(sizeof(*z)))) {
 							char *msg_format, *tzone;
 							msg_format = ast_strdupa(var->value);
-							tzone = strsep(&msg_format, "|");
+							tzone = strsep(&msg_format, "|,");
 							if (msg_format) {
 								ast_copy_string(z->name, var->name, sizeof(z->name));
 								ast_copy_string(z->timezone, tzone, sizeof(z->timezone));




More information about the asterisk-commits mailing list