summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 536b3b2e9..bfbbdef16 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3539,7 +3539,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
/* Begin Monitoring */
if (qe->parent->monfmt && *qe->parent->monfmt) {
if (!qe->parent->montype) {
- char *monexec, *monargs;
+ const char *monexec, *monargs;
ast_debug(1, "Starting Monitor as requested.\n");
if ((monexec = pbx_builtin_getvar_helper(qe->chan, "MONITOR_EXEC")) || (monargs = pbx_builtin_getvar_helper(qe->chan, "MONITOR_EXEC_ARGS")))
which = qe->chan;