From: hno <> Date: Fri, 19 Jul 2002 04:02:26 +0000 (+0000) Subject: Added back a missing else.. got list in the rewrite to support authentiction. X-Git-Tag: SQUID_3_0_PRE1~895 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eaec952c62ce5dde29b2bb9f065228dcadd92e2c;p=thirdparty%2Fsquid.git Added back a missing else.. got list in the rewrite to support authentiction. This fixes the parsing of headers. --- diff --git a/src/external_acl.cc b/src/external_acl.cc index 152cb9f477..c5ebced7b1 100644 --- a/src/external_acl.cc +++ b/src/external_acl.cc @@ -1,6 +1,6 @@ /* - * $Id: external_acl.cc,v 1.4 2002/06/26 20:57:09 hno Exp $ + * $Id: external_acl.cc,v 1.5 2002/07/18 22:02:26 hno Exp $ * * DEBUG: section 82 External ACL * AUTHOR: Henrik Nordstrom, MARA Systems AB @@ -234,7 +234,7 @@ parse_externalAclHelper(external_acl ** list) format->type = EXT_ACL_HEADER_ID; } } - if (strcmp(token, "%LOGIN") == 0) { + else if (strcmp(token, "%LOGIN") == 0) { format->type = EXT_ACL_LOGIN; a->require_auth = 1; }