aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-17 22:51:28 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-17 22:51:28 +0000
commit916fa20bc1950f867eb150d8b1242e4863c2306c (patch)
tree447e6d799d8433a3ca4c23c535b80ce3e71975da
parentfb5c80ddd1746840c82c855026a52ff2b642e9b8 (diff)
Remove needless check for autofill (issue #7180 reported by Marquis)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27975 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_queue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index c19b18727..1ae2b0e4d 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1895,11 +1895,10 @@ static int is_our_turn(struct queue_ent *qe)
int res;
if (!qe->parent->autofill) {
-
/* Atomically read the parent head -- does not need a lock */
ch = qe->parent->head;
/* If we are now at the top of the head, break out */
- if ((ch == qe) || (qe->parent->autofill)) {
+ if (ch == qe) {
if (option_debug)
ast_log(LOG_DEBUG, "It's our turn (%s).\n", qe->chan->name);
res = 1;