]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix compile error with --disable-http-violations
authorhno <>
Fri, 28 Apr 2006 02:36:29 +0000 (02:36 +0000)
committerhno <>
Fri, 28 Apr 2006 02:36:29 +0000 (02:36 +0000)
src/cache_cf.cc

index 7778a5299eb0d561a6b6b91b4749ce020719c534..db63ce265093b8f00eed1355da094ae251e3918a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.492 2006/04/27 19:07:16 wessels Exp $
+ * $Id: cache_cf.cc,v 1.493 2006/04/27 20:36:29 hno Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -2229,7 +2229,10 @@ free_refreshpattern(refresh_t ** head)
         safe_free(t);
     }
 
+#if HTTP_VIOLATIONS
     refresh_nocache_hack = 0;
+
+#endif
 }
 
 static void