[svn-commits] russell: trunk r452 - /trunk/menuselect.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jan 16 13:14:42 CST 2009


Author: russell
Date: Fri Jan 16 13:14:42 2009
New Revision: 452

URL: http://svn.digium.com/svn-view/menuselect?view=rev&rev=452
Log:
Don't stop looking for in-tree deps/conflicts/uses for a single member once
a match is found for the first one.  Keep processing the rest in case  a
member has more than one.

Modified:
    trunk/menuselect.c

Modified: trunk/menuselect.c
URL: http://svn.digium.com/svn-view/menuselect/trunk/menuselect.c?view=diff&rev=452&r1=451&r2=452
==============================================================================
--- trunk/menuselect.c (original)
+++ trunk/menuselect.c Fri Jan 16 13:14:42 2009
@@ -617,7 +617,7 @@
 					break;
 				}
 				if (dep->member)
-					break;
+					continue;
 
 				AST_LIST_TRAVERSE(&categories, cat2, list) {
 					AST_LIST_TRAVERSE(&cat2->members, mem2, list) {
@@ -645,7 +645,7 @@
 					break;
 				}
 				if (use->member)
-					break;
+					continue;
 
 				AST_LIST_TRAVERSE(&categories, cat2, list) {
 					AST_LIST_TRAVERSE(&cat2->members, mem2, list) {
@@ -692,7 +692,7 @@
 					break;
 				}
 				if (cnf->member)
-					break;
+					continue;
 
 				AST_LIST_TRAVERSE(&categories, cat2, list) {
 					AST_LIST_TRAVERSE(&cat2->members, mem2, list) {




More information about the svn-commits mailing list