When done, return the last result.
authoraland <aland>
Tue, 17 Apr 2007 07:47:03 +0000 (07:47 +0000)
committeraland <aland>
Tue, 17 Apr 2007 07:47:03 +0000 (07:47 +0000)
Hmm... we should probably short-circuit the checks

src/main/valuepair.c

index e9196d8..065ea0f 100644 (file)
@@ -491,7 +491,7 @@ int paircompare(REQUEST *req, VALUE_PAIR *request, VALUE_PAIR *check, VALUE_PAIR
 
        } /* for every entry in the check item list */
 
-       return 0;               /* it matched */
+       return result;
 }
 
 /*