summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2006-05-09 00:21:40 +0000
committerBJ Weschke <bweschke@btwtech.com>2006-05-09 00:21:40 +0000
commit3780d4e7dd6cf5074de2a2248c6d83a78fa0dd9f (patch)
treedbe83c74f81eaf30d2680a6e5e5422fa7a1e09bd /apps/app_queue.c
parenta5e16fe676b61d2a9be2042bc4b26d26e0371c8d (diff)
strategy "ringall" is really int value of 0, not 1.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-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 d1ed8d83d..c6b9a9655 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1925,7 +1925,7 @@ static int is_our_turn(struct queue_ent *qe)
if (option_debug)
ast_log(LOG_DEBUG, "There are %d available members.\n", avl);
- if (qe->parent->strategy == 1) {
+ if (qe->parent->strategy == 0) {
if (option_debug)
ast_log(LOG_DEBUG, "Even though there are %d available members, the strategy is ringall so only the head call is allowed in!\n", avl);
avl = 1;