From: wessels <> Date: Wed, 13 Aug 2003 22:05:22 +0000 (+0000) Subject: Bug #743: Error when compile on FreeBSD 4.8-stable OS X-Git-Tag: SQUID_3_0_PRE3~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c26ffae964ce2b10725a12ad7d131ff527b034e5;p=thirdparty%2Fsquid.git Bug #743: Error when compile on FreeBSD 4.8-stable OS "#ifdef HTTP_VIOLATIONS" should be "#if HTTP_VIOLATIONS" because it is set to "0" in include/autoconf.h --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 65ac7cce9f..271c7b356b 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.447 2003/07/22 15:23:01 robertc Exp $ + * $Id: cache_cf.cc,v 1.448 2003/08/13 16:05:22 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -92,7 +92,7 @@ static size_t parseBytesUnits(const char *unit); static void free_all(void); void requirePathnameExists(const char *name, const char *path); static OBJH dump_config; -#ifdef HTTP_VIOLATIONS +#if HTTP_VIOLATIONS static void dump_http_header_access(StoreEntry * entry, const char *name, header_mangler header[]); static void parse_http_header_access(header_mangler header[]); static void free_http_header_access(header_mangler header[]); @@ -1055,7 +1055,7 @@ parse_delay_pool_access(DelayConfig * cfg) #endif -#ifdef HTTP_VIOLATIONS +#if HTTP_VIOLATIONS static void dump_http_header_access(StoreEntry * entry, const char *name, header_mangler header[]) {