Merged revisions 89493 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 21 Nov 2007 19:27:22 +0000 (19:27 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 21 Nov 2007 19:27:22 +0000 (19:27 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89493 | mmichelson | 2007-11-21 13:24:22 -0600 (Wed, 21 Nov 2007) | 5 lines

Changing an inaccurate debug message to be less inaccurate. Under the circumstances, this
message would always report that there were 0 members available, even though that may not be true.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 2f83f70..8985c27 100644 (file)
@@ -2456,7 +2456,7 @@ static int is_our_turn(struct queue_ent *qe)
                ch = qe->parent->head;
        
                if (qe->parent->strategy == QUEUE_STRATEGY_RINGALL) {
-                       ast_debug(1, "Even though there are %d available members, the strategy is ringall so only the head call is allowed in\n", avl);
+                       ast_debug(1, "Even though there may be multiple members available, the strategy is ringall so only the head call is allowed in\n", avl);
                        avl = 1;
                } else {
                        struct ao2_iterator mem_iter = ao2_iterator_init(qe->parent->members, 0);