Fix another spot where a hard-coded '|' hadn't been converted to ','
authorMark Michelson <mmichelson@digium.com>
Wed, 20 Feb 2008 15:21:51 +0000 (15:21 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 20 Feb 2008 15:21:51 +0000 (15:21 +0000)
(closes issue #12034)
Reported by: kowalma

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103844 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_monitor.c

index 6a90001..f3be16f 100644 (file)
@@ -512,7 +512,7 @@ static int start_monitor_exec(struct ast_channel *chan, void *data)
                   be pedantic. Reconstructing with checks for 'm' option does not
                   work if we end up adding more options than 'm' in the future. */
                delay = ast_strdupa(data);
-               options = strrchr(delay, '|');
+               options = strrchr(delay, ',');
                if (options) {
                        arg = strchr(options, 'b');
                        if (arg) {