From eaec952c62ce5dde29b2bb9f065228dcadd92e2c Mon Sep 17 00:00:00 2001 From: hno <> Date: Fri, 19 Jul 2002 04:02:26 +0000 Subject: [PATCH] Added back a missing else.. got list in the rewrite to support authentiction. This fixes the parsing of headers. --- src/external_acl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.3