summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-01-28 21:32:48 +0000
committerMark Spencer <markster@digium.com>2004-01-28 21:32:48 +0000
commit695422d698e01ee984b87eb944a3aff12a871c32 (patch)
treeccb01541f202b4ff5fa2699daa4ac2d97f68aadf /apps/app_queue.c
parentc0eb1e6bfe8d44977c1976d1779f22ef886b4d8e (diff)
Various minor cleanups (bug #931)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index e7b7ab8bd..4844df98a 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1131,8 +1131,9 @@ static int queue_exec(struct ast_channel *chan, void *data)
}
}
}
- printf("queue: %s, options: %s, url: %s, announce: %s\n",
- queuename, options, url, announceoverride);
+ if (option_debug)
+ ast_log(LOG_DEBUG, "queue: %s, options: %s, url: %s, announce: %s\n",
+ queuename, options, url, announceoverride);
/* Setup our queue entry */
memset(&qe, 0, sizeof(qe));
qe.chan = chan;