[svn-commits] mmichelson: trunk r101580 - /trunk/apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 31 16:12:50 CST 2008


Author: mmichelson
Date: Thu Jan 31 16:12:50 2008
New Revision: 101580

URL: http://svn.digium.com/view/asterisk?view=rev&rev=101580
Log:
Forgot an !


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=101580&r1=101579&r2=101580
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Jan 31 16:12:50 2008
@@ -1437,7 +1437,7 @@
 		 * will allocate the members properly
 		 */
 		for (tmpvar = queue_vars; tmpvar; tmpvar = tmpvar->next) {
-			if (strcasecmp(tmpvar->name, "strategy")) {
+			if (!strcasecmp(tmpvar->name, "strategy")) {
 				q->strategy = strat2int(tmpvar->value);
 				if (q->strategy < 0) {
 					ast_log(LOG_WARNING, "'%s' isn't a valid strategy for queue '%s', using ringall instead\n",




More information about the svn-commits mailing list