]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #743: Error when compile on FreeBSD 4.8-stable OS
authorwessels <>
Wed, 13 Aug 2003 22:05:22 +0000 (22:05 +0000)
committerwessels <>
Wed, 13 Aug 2003 22:05:22 +0000 (22:05 +0000)
"#ifdef HTTP_VIOLATIONS" should be "#if HTTP_VIOLATIONS"
because it is set to "0" in include/autoconf.h

src/cache_cf.cc

index 65ac7cce9f4752f82611daf63789a4c5a95410ea..271c7b356ba66f1030135ac335220865e154cae8 100644 (file)
@@ -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[])
 {