From: Alan T. DeKok Date: Wed, 22 Sep 2010 09:44:34 +0000 (+0200) Subject: Fix condition for attribute not found X-Git-Tag: release_3_0_0_beta0~1227 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=commitdiff_plain;h=a47bc2e3e3138e9495377ac2c8fdea13a54f3547 Fix condition for attribute not found This is a "false" comparison, but not a syntax error in the evaluation logic --- 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