From: wessels <> Date: Sun, 15 Dec 1996 01:54:58 +0000 (+0000) Subject: debug stuff X-Git-Tag: SQUID_3_0_PRE1~5295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f43e2ec208e99758fd1908977bce8e63ff842260;p=thirdparty%2Fsquid.git debug stuff --- diff --git a/src/cachemgr.cc b/src/cachemgr.cc index ee91b6e8ac..bce9e017b0 100644 --- a/src/cachemgr.cc +++ b/src/cachemgr.cc @@ -1,8 +1,8 @@ /* - * $Id: cachemgr.cc,v 1.47 1996/11/25 06:15:29 wessels Exp $ + * $Id: cachemgr.cc,v 1.48 1996/12/14 18:54:58 wessels Exp $ * - * DEBUG: Section 0 CGI Cache Manager + * DEBUG: section 0 CGI Cache Manager * AUTHOR: Harvest Derived * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ diff --git a/src/client_db.cc b/src/client_db.cc index b0e2f9180e..211949daf6 100644 --- a/src/client_db.cc +++ b/src/client_db.cc @@ -1,8 +1,8 @@ /* - * $Id: client_db.cc,v 1.7 1996/12/13 22:26:35 wessels Exp $ + * $Id: client_db.cc,v 1.8 1996/12/14 18:54:59 wessels Exp $ * - * DEBUG: section Client Database + * DEBUG: section 0 Client Database * AUTHOR: Duane Wessels * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ diff --git a/src/event.cc b/src/event.cc index 385b538707..0dad20a4ac 100644 --- a/src/event.cc +++ b/src/event.cc @@ -1,8 +1,8 @@ /* - * $Id: event.cc,v 1.2 1996/11/14 19:02:15 wessels Exp $ + * $Id: event.cc,v 1.3 1996/12/14 18:54:59 wessels Exp $ * - * DEBUG: Section 41 Event Processing + * DEBUG: section 41 Event Processing * AUTHOR: Henrik Nordstrom * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ diff --git a/src/pinger.cc b/src/pinger.cc index ab2acffa52..653296d60b 100644 --- a/src/pinger.cc +++ b/src/pinger.cc @@ -1,9 +1,8 @@ - /* - * $Id: pinger.cc,v 1.17 1996/11/15 07:51:11 wessels Exp $ + * $Id: pinger.cc,v 1.18 1996/12/14 18:55:00 wessels Exp $ * - * DEBUG: section 37 ICMP Routines + * DEBUG: section 42 ICMP Pinger program * AUTHOR: Duane Wessels * * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ @@ -121,7 +120,7 @@ pingerOpen(void) { struct protoent *proto = NULL; if ((proto = getprotobyname("icmp")) == 0) { - debug(37, 0, "pingerOpen: unknown protocol: icmp\n"); + debug(42, 0, "pingerOpen: unknown protocol: icmp\n"); exit(1); } icmp_sock = socket(PF_INET, SOCK_RAW, proto->p_proto); @@ -130,7 +129,7 @@ pingerOpen(void) exit(1); } icmp_ident = getpid() & 0xffff; - debug(37, 0, "ICMP socket opened\n", icmp_sock); + debug(42, 0, "ICMP socket opened\n", icmp_sock); } void @@ -202,7 +201,7 @@ pingerRecv(void) (struct sockaddr *) &from, &fromlen); gettimeofday(&now, NULL); - debug(37, 9, "pingerRecv: %d bytes from %s\n", n, inet_ntoa(from.sin_addr)); + debug(42, 9, "pingerRecv: %d bytes from %s\n", n, inet_ntoa(from.sin_addr)); ip = (struct iphdr *) (void *) pkt; #if HAVE_IP_HL iphdrlen = ip->ip_hl << 2; @@ -255,7 +254,7 @@ in_cksum(unsigned short *ptr, int size) static void pingerLog(struct icmphdr *icmp, struct in_addr addr, int rtt, int hops) { - debug(37, 2, "pingerLog: %9d.%06d %-16s %d %-15.15s %dms %d hops\n", + debug(42, 2, "pingerLog: %9d.%06d %-16s %d %-15.15s %dms %d hops\n", (int) current_time.tv_sec, (int) current_time.tv_usec, inet_ntoa(addr),