From: wessels <> Date: Fri, 5 Apr 1996 01:50:11 +0000 (+0000) Subject: debug cleanup X-Git-Tag: SQUID_3_0_PRE1~6288 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4f583ee7f126bbc667ebc14cef0b811aa500ee8;p=thirdparty%2Fsquid.git debug cleanup --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index e69e609dd7..5021c04051 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,4 +1,4 @@ -/* $Id: cache_cf.cc,v 1.16 1996/04/04 18:41:22 wessels Exp $ */ +/* $Id: cache_cf.cc,v 1.17 1996/04/04 18:50:11 wessels Exp $ */ /* DEBUG: Section 3 cache_cf: Configuration file parsing */ @@ -194,14 +194,13 @@ ip_access_type ip_access_check(address, list) if (naddr.s_addr == localhost.s_addr) return IP_ALLOW; - debug(3, 1, "IP access check using: %s\n", inet_ntoa(naddr)); + debug(3, 5, "ip_access_check: using %s\n", inet_ntoa(naddr)); for (p = list; p; p = p->next) { - sprintf(buf, "%s", inet_ntoa(naddr)); - sprintf(&buf[strlen(buf)], " vs %s", inet_ntoa(p->addr)); - sprintf(&buf[strlen(buf)], "/%s", inet_ntoa(p->mask)); - debug(3, 1, "IP access check %s\n", buf); - + debug(3, 5, "ip_access_check: %s vs %s/%s\n", + inet_ntoa(naddr), + inet_ntoa(p->addr), + inet_ntoa(p->mask)); if (ip_acl_match(naddr, p)) return p->access; }