[svn-commits] trunk r27975 - /trunk/apps/app_queue.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed May 17 15:51:29 MST 2006
Author: file
Date: Wed May 17 17:51:28 2006
New Revision: 27975
URL: http://svn.digium.com/view/asterisk?rev=27975&view=rev
Log:
Remove needless check for autofill (issue #7180 reported by Marquis)
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?rev=27975&r1=27974&r2=27975&view=diff
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed May 17 17:51:28 2006
@@ -1895,11 +1895,10 @@
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;
More information about the svn-commits
mailing list