]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Allow the pipe, but also allow the comma
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Aug 2010 21:26:11 +0000 (21:26 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 2 Aug 2010 21:26:11 +0000 (21:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@280671 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index b8b7889b31c0acb531fed4fced25a2796c0af0d8..122f92a87819a0e0df1e239f0b91fc53e9d499eb 100644 (file)
@@ -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));