summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-11-08 01:55:31 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-11-08 01:55:31 +0000
commita0a97696160c209413f213208b906d2990650320 (patch)
treece21ec4bfdeea79845fbbf2eb5308a2e6d513fc8 /apps/app_queue.c
parent2ea48ce114efcce674220ef6cbb1cd61f3e79494 (diff)
issue #5648
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 7fcffd71c..ae622f05a 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -2022,7 +2022,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
cur = qe->parent->members;
if (!ast_strlen_zero(qe->announce))
announce = qe->announce;
- if (announceoverride && !ast_strlen_zero(announceoverride))
+ if (!ast_strlen_zero(announceoverride))
announce = announceoverride;
while(cur) {
@@ -2201,7 +2201,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
}
/* Drop out of the queue at this point, to prepare for next caller */
leave_queue(qe);
- if (url && !ast_strlen_zero(url) && ast_channel_supports_html(peer)) {
+ if (!ast_strlen_zero(url) && ast_channel_supports_html(peer)) {
if (option_debug)
ast_log(LOG_DEBUG, "app_queue: sendurl=%s.\n", url);
ast_channel_sendurl(peer, url);