]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ed knowles nits
authorwessels <>
Tue, 26 Aug 1997 23:30:34 +0000 (23:30 +0000)
committerwessels <>
Tue, 26 Aug 1997 23:30:34 +0000 (23:30 +0000)
src/acl.cc
src/cachemgr.cc
src/cf.data.pre

index a6afccad4ab93350dc864cebc8e0a229a7f58d9e..74612d7959b7f76b6f365a23c44d0d8c268bbd42 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: acl.cc,v 1.107 1997/08/26 04:21:17 wessels Exp $
+ * $Id: acl.cc,v 1.108 1997/08/26 17:30:34 wessels Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -1649,8 +1649,10 @@ aclReadProxyAuth(struct _acl_proxy_auth *p)
                    }
                } else {
                    /* First time around, 7921 should be big enough */
-                   if ((p->hash = hash_create(urlcmp, 7921, hash_string)) < 0) {
-                       debug(28, 0) ("aclReadProxyAuth: can't create hash table, turning auth off\n");
+                   p->hash = hash_create(urlcmp, 7921, hash_string);
+                   if (p->hash == NULL) {
+                       debug(28, 0) ("aclReadProxyAuth: can't create "
+                               "hash table, turning auth off.\n");
                        return 0;
                    }
                }
index 6c2094add6e260e4892c6a4ad221cbf978bd1240..1932b8224c28eb3de41ea2d8e91ae22132705a17 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cachemgr.cc,v 1.59 1997/08/25 22:35:51 wessels Exp $
+ * $Id: cachemgr.cc,v 1.60 1997/08/26 17:30:35 wessels Exp $
  *
  * DEBUG: section 0     CGI Cache Manager
  * AUTHOR: Harvest Derived
@@ -248,7 +248,7 @@ static const char *const op_cmds[] =
     "server_list",
     "client_list",
     "log",
-    "parameter",
+    "config",
     "ipcache",
     "fqdncache",
     "dns",
index 0fda328162706592a595898249b28385bd0416dc..09c8db9b02d3acdcb012efcb21ca97551147e87b 100644 (file)
@@ -489,7 +489,7 @@ DOC_END
 NAME: cache_dir
 TYPE: cachedir
 DEFAULT: none
-DEFAULT_IF_NONE: @DEFAULT_SWAP_DIR@ 100 256 16
+DEFAULT_IF_NONE: @DEFAULT_SWAP_DIR@ 100 16 256
 LOC: Config.cacheSwap
 DOC_START
        Directory for on-disk cache storage.  The cache will change into