summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/res_monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c
index 6a90001b2..f3be16f7a 100644
--- a/res/res_monitor.c
+++ b/res/res_monitor.c
@@ -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) {