From: wessels <> Date: Tue, 4 Nov 1997 03:05:36 +0000 (+0000) Subject: binary tree fixes from 1.1.18 X-Git-Tag: SQUID_3_0_PRE1~4584 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=472823691d89cb252c73ddb9e70ac75662298500;p=thirdparty%2Fsquid.git binary tree fixes from 1.1.18 --- diff --git a/src/acl.cc b/src/acl.cc index c741825788..aeb23dca89 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,5 +1,5 @@ /* - * $Id: acl.cc,v 1.111 1997/10/26 02:35:27 wessels Exp $ + * $Id: acl.cc,v 1.112 1997/11/03 20:05:36 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -867,8 +867,8 @@ aclMatchIp(void *dataptr, struct in_addr c) static int aclMatchIp(void *dataptr, struct in_addr c) { - tree **data = dataptr; - if (tree_srch(data, bintreeIpNetworkCompare, &c)) { + tree ***data = dataptr; + if (tree_srch(*data, bintreeIpNetworkCompare, &c)) { debug(28, 3) ("aclMatchIp: '%s' found\n", inet_ntoa(c)); return 1; }