]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added back a missing else.. got list in the rewrite to support authentiction.
authorhno <>
Fri, 19 Jul 2002 04:02:26 +0000 (04:02 +0000)
committerhno <>
Fri, 19 Jul 2002 04:02:26 +0000 (04:02 +0000)
This fixes the parsing of headers.

src/external_acl.cc

index 152cb9f4777437f0eb331541b2da537bf92fe306..c5ebced7b1d044ecb59289b8e0601fabcf0ae067 100644 (file)
@@ -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;
        }