From a47bc2e3e3138e9495377ac2c8fdea13a54f3547 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Wed, 22 Sep 2010 11:44:34 +0200 Subject: [PATCH] Fix condition for attribute not found This is a "false" comparison, but not a syntax error in the evaluation logic --- src/main/evaluate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/evaluate.c b/src/main/evaluate.c index 5da6645..77df822 100644 --- a/src/main/evaluate.c +++ b/src/main/evaluate.c @@ -366,7 +366,8 @@ static int radius_do_cmp(REQUEST *request, int *presult, RDEBUG2(" (Attribute %s was not found)", pleft); - return FALSE; + *presult = 0; + return TRUE; } #ifdef HAVE_REGEX_H -- 2.1.4