[asterisk-commits] file: trunk r55198 - /trunk/apps/app_queue.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Feb 17 09:48:20 MST 2007


Author: file
Date: Sat Feb 17 10:48:20 2007
New Revision: 55198

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55198
Log:
We want to skip the queue if the name doesn't match the specified one, not if they *do*.

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=55198&r1=55197&r2=55198
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Sat Feb 17 10:48:20 2007
@@ -4079,7 +4079,7 @@
 		float sl;
 
 		ast_mutex_lock(&q->lock);
-		if (argc == 3 && !strcasecmp(q->name, argv[2])) {
+		if (argc == 3 && strcasecmp(q->name, argv[2])) {
 			ast_mutex_unlock(&q->lock);
 			continue;
 		}



More information about the asterisk-commits mailing list