aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-08 17:04:44 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-08 17:04:44 +0000
commit8f73f5ceb4da0535699d2fbbe6e2dd9eb842ca81 (patch)
treeb52e15cb0809237391c2d4b4651e8a8ea3755d11 /apps/app_queue.c
parent3ad7466211b868180c38f284d0a842e2f917e890 (diff)
Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60762 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 49eee515b..ca492c758 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2588,7 +2588,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
}
if (mixmonapp) {
- if (!ast_strlen_zero(monitor_exec) && !ast_strlen_zero(monitor_options))
+ if (!ast_strlen_zero(monitor_exec))
snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s|b%s|%s", tmpid2, monitor_options, monitor_exec);
else
snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s|b%s", tmpid2, monitor_options);