From 02d0318c849e284fb1870e37c88445985026cec5 Mon Sep 17 00:00:00 2001 From: aland Date: Tue, 17 Apr 2007 07:47:03 +0000 Subject: [PATCH] When done, return the last result. Hmm... we should probably short-circuit the checks --- src/main/valuepair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/valuepair.c b/src/main/valuepair.c index e9196d8..065ea0f 100644 --- a/src/main/valuepair.c +++ b/src/main/valuepair.c @@ -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; } /* -- 2.1.4