From: wessels <> Date: Thu, 11 Jan 2001 07:02:34 +0000 (+0000) Subject: ASState cbdata type must be initialized before calling asnAclInitialize(). X-Git-Tag: SQUID_3_0_PRE1~1648 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=621bedf85efde0ee88e3b15805bb7e3147278e46;p=thirdparty%2Fsquid.git ASState cbdata type must be initialized before calling asnAclInitialize(). --- diff --git a/src/asn.cc b/src/asn.cc index 8069e702f7..8ee597257b 100644 --- a/src/asn.cc +++ b/src/asn.cc @@ -1,6 +1,6 @@ /* - * $Id: asn.cc,v 1.66 2001/01/05 09:51:36 adrian Exp $ + * $Id: asn.cc,v 1.67 2001/01/11 00:02:34 wessels Exp $ * * DEBUG: section 53 AS Number handling * AUTHOR: Duane Wessels, Kostas Anagnostakis @@ -158,12 +158,12 @@ asnInit(void) extern int max_keylen; static int inited = 0; max_keylen = 40; + CBDATA_INIT_TYPE(ASState); if (0 == inited++) rn_init(); rn_inithead((void **) &AS_tree_head, 8); asnAclInitialize(Config.aclList); cachemgrRegister("asndb", "AS Number Database", asnStats, 0, 1); - CBDATA_INIT_TYPE(ASState); } void