From: Tilghman Lesher Date: Mon, 2 Aug 2010 21:26:11 +0000 (+0000) Subject: Allow the pipe, but also allow the comma X-Git-Tag: 1.6.2.12-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81fe0bf8b531b0f01f5c6dcda25a78c0a29e69d3;p=thirdparty%2Fasterisk.git Allow the pipe, but also allow the comma git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@280671 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b8b7889b31..122f92a878 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -11215,7 +11215,7 @@ static int load_config(int reload) 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));