]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
got acl match logic wrong
authorwessels <>
Tue, 21 Apr 1998 00:32:46 +0000 (00:32 +0000)
committerwessels <>
Tue, 21 Apr 1998 00:32:46 +0000 (00:32 +0000)
src/client_side.cc

index 76b1e5902e6741a17aa395ffd4c7882b771fb8aa..c26a130774317d9cbd675ac53d3dd5b69b7dac62 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.279 1998/04/17 04:25:35 wessels Exp $
+ * $Id: client_side.cc,v 1.280 1998/04/20 18:32:46 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -847,7 +847,7 @@ clientCachable(clientHttpRequest * http)
      */
     ch.src_addr = http->conn->peer.sin_addr;
     ch.request = http->request;
-    if (0 == aclCheckFast(Config.accessList.noCache, &ch))
+    if (aclCheckFast(Config.accessList.noCache, &ch))
            return 0;
     if (Config.cache_stop_relist)
        if (aclMatchRegex(Config.cache_stop_relist, url))