From: hno <> Date: Mon, 17 Jun 2002 01:32:01 +0000 (+0000) Subject: Oops.. got the auth logics slightly wrong.. X-Git-Tag: SQUID_3_0_PRE1~976 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b593d6e62f9a7c31a561bb536791f58365ed19ed;p=thirdparty%2Fsquid.git Oops.. got the auth logics slightly wrong.. --- diff --git a/src/acl.cc b/src/acl.cc index 0b33f1eb55..2c75499cf1 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.277 2002/06/16 17:46:25 hno Exp $ + * $Id: acl.cc,v 1.278 2002/06/16 19:32:01 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -1654,7 +1654,7 @@ aclMatchAcl(acl * ae, aclCheck_t * checklist) /* NOTREACHED */ case ACL_PROXY_AUTH: case ACL_PROXY_AUTH_REGEX: - if ((ti = aclAuthenticated(checklist)) != 0) + if ((ti = aclAuthenticated(checklist)) != 1) return ti; ti = aclMatchProxyAuth(ae->data, checklist->auth_user_request, checklist, ae->type); @@ -1662,7 +1662,7 @@ aclMatchAcl(acl * ae, aclCheck_t * checklist) return ti; /* NOTREACHED */ case ACL_MAX_USER_IP: - if ((ti = aclAuthenticated(checklist)) != 0) + if ((ti = aclAuthenticated(checklist)) != 1) return ti; ti = aclMatchUserMaxIP(ae->data, checklist->auth_user_request, checklist->src_addr);