From: wessels <> Date: Tue, 26 Aug 1997 23:30:34 +0000 (+0000) Subject: ed knowles nits X-Git-Tag: SQUID_3_0_PRE1~4805 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0108d71f41cd013e04b10a4c2ca3ac0427ad950b;p=thirdparty%2Fsquid.git ed knowles nits --- diff --git a/src/acl.cc b/src/acl.cc index a6afccad4a..74612d7959 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -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; } } diff --git a/src/cachemgr.cc b/src/cachemgr.cc index 6c2094add6..1932b8224c 100644 --- a/src/cachemgr.cc +++ b/src/cachemgr.cc @@ -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", diff --git a/src/cf.data.pre b/src/cf.data.pre index 0fda328162..09c8db9b02 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -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