]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make this compile with dev-mode on
authorMark Michelson <mmichelson@digium.com>
Fri, 27 Jun 2008 00:22:03 +0000 (00:22 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 27 Jun 2008 00:22:03 +0000 (00:22 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125666 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 536b3b2e9d0dfdafc49293f4bf4a4649f2b966df..bfbbdef1649dbbf9512a759989bdddd909a04bd0 100644 (file)
@@ -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;