From f8d9f54a5c1fba11f5a1a81a1533d43a52ac84fd Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 21 Apr 1998 22:39:00 +0000 Subject: [PATCH] Fixed hierarchy_stoplist to be DEFAULT_IF_NONE --- src/cache_cf.cc | 8 +++++++- src/cf.data.pre | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/cache_cf.cc b/src/cache_cf.cc index feb64f573c..ba8f733315 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.277 1998/04/16 21:51:54 wessels Exp $ + * $Id: cache_cf.cc,v 1.278 1998/04/21 16:39:00 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -1291,6 +1291,12 @@ parse_wordlist(wordlist ** list) wordlistAdd(list, token); } +static int +check_null_wordlist(wordlist *w) +{ + return w == NULL; +} + #if SQUID_SNMP static void parse_stringlist(wordlist ** list) diff --git a/src/cf.data.pre b/src/cf.data.pre index aca2dd1d93..f417453c9d 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -307,7 +307,8 @@ DOC_END NAME: hierarchy_stoplist TYPE: wordlist -DEFAULT: cgi-bin ? +DEFAULT: none +DEFAULT_IF_NONE: cgi-bin ? LOC: Config.hierarchy_stoplist DOC_START A list of words which, if found in a URL, cause the object to -- 2.47.3