From: wessels <> Date: Mon, 25 Aug 1997 08:19:30 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~4823 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=437e2060745d3a7de77693d52f1e9d03bfa1d41f;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/client.cc b/src/client.cc index 662e055faf..736f669c55 100644 --- a/src/client.cc +++ b/src/client.cc @@ -1,7 +1,6 @@ - /* - * $Id: client.cc,v 1.25 1997/08/10 06:34:27 wessels Exp $ + * $Id: client.cc,v 1.26 1997/08/25 02:19:30 wessels Exp $ * * DEBUG: section 0 WWW Client * AUTHOR: Harvest Derived diff --git a/src/client_side.cc b/src/client_side.cc index 2e5015eddb..2c534cfa38 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.122 1997/08/24 23:13:26 wessels Exp $ + * $Id: client_side.cc,v 1.123 1997/08/25 02:19:31 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -151,7 +151,7 @@ clientAccessCheckDone(int answer, void *data) err->redirect_url = xstrdup(redirectUrl); } else { /* NOTE: don't use HTTP_UNAUTHORIZED because then the - stupid browser wants us to authenticate */ + * stupid browser wants us to authenticate */ err->http_status = HTTP_FORBIDDEN; } errorSend(fd, err); diff --git a/src/errorpage.cc b/src/errorpage.cc index 9c8690466d..ac3c0353b6 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.66 1997/08/24 01:59:47 wessels Exp $ + * $Id: errorpage.cc,v 1.67 1997/08/25 02:19:32 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -116,10 +116,10 @@ errorConvert(char token, ErrorState * err) break; case 'p': if (r) { - snprintf(buf, CVT_BUF_SZ, "%d", (int) r->port); - p = buf; + snprintf(buf, CVT_BUF_SZ, "%d", (int) r->port); + p = buf; } else { - p = "[unknown port]"; + p = "[unknown port]"; } break; case 'P': @@ -132,26 +132,26 @@ errorConvert(char token, ErrorState * err) p = err->dnsserver_msg; break; /* - e - errno - E - strerror() - t - local time - T - UTC - c - Squid error code - I - server IP address - i - client IP address - L - HREF link for more info/contact - w - cachemgr email address - h - cache hostname - d - seconds elapsed since request received - p - URL port # -*/ + * e - errno + * E - strerror() + * t - local time + * T - UTC + * c - Squid error code + * I - server IP address + * i - client IP address + * L - HREF link for more info/contact + * w - cachemgr email address + * h - cache hostname + * d - seconds elapsed since request received + * p - URL port # + */ default: p = "%UNKNOWN%"; break; } if (p == NULL) p = ""; - debug(4, 1)("errorConvert: %%%c --> '%s'\n", token, p); + debug(4, 1) ("errorConvert: %%%c --> '%s'\n", token, p); return p; } @@ -199,7 +199,7 @@ errorBuildBuf(ErrorState * err, int *len) err->http_status, "text/html", clen, - 0, /* no LMT for error pages */ + 0, /* no LMT for error pages */ squid_curtime); tlen = snprintf(buf, ERROR_BUF_SZ, "%s\r\n%s", hdr, content); if (len) diff --git a/src/neighbors.cc b/src/neighbors.cc index 02b0a589df..c785caec68 100644 --- a/src/neighbors.cc +++ b/src/neighbors.cc @@ -1,5 +1,5 @@ /* - * $Id: neighbors.cc,v 1.157 1997/08/25 02:17:47 wessels Exp $ + * $Id: neighbors.cc,v 1.158 1997/08/25 02:19:32 wessels Exp $ * * DEBUG: section 15 Neighbor Routines * AUTHOR: Harvest Derived @@ -947,7 +947,7 @@ peerCountMcastPeersDone(void *data) } static void -peerCountHandleIcpReply(peer * p, peer_t type, icp_common_t *hdr, void *data) +peerCountHandleIcpReply(peer * p, peer_t type, icp_common_t * hdr, void *data) { ps_state *psstate = data; psstate->icp.n_recv++; diff --git a/src/peer_select.cc b/src/peer_select.cc index 08674d1982..f0921cc139 100644 --- a/src/peer_select.cc +++ b/src/peer_select.cc @@ -1,6 +1,6 @@ /* - * $Id: peer_select.cc,v 1.26 1997/08/25 02:17:48 wessels Exp $ + * $Id: peer_select.cc,v 1.27 1997/08/25 02:19:33 wessels Exp $ * * DEBUG: section 44 Peer Selection Algorithm * AUTHOR: Duane Wessels @@ -219,14 +219,14 @@ peerCheckNetdbDirect(ps_state * psstate) if (p == NULL) return 0; myrtt = netdbHostRtt(psstate->request->host); -debug(44, 3) ("peerCheckNetdbDirect: MY RTT = %d\n", myrtt); -debug(44, 3) ("peerCheckNetdbDirect: closest_parent_miss RTT = %d\n", + debug(44, 3) ("peerCheckNetdbDirect: MY RTT = %d\n", myrtt); + debug(44, 3) ("peerCheckNetdbDirect: closest_parent_miss RTT = %d\n", psstate->icp.p_rtt); if (myrtt && myrtt < psstate->icp.p_rtt) return 1; myhops = netdbHostHops(psstate->request->host); -debug(44, 3) ("peerCheckNetdbDirect: MY hops = %d\n", myhops); -debug(44, 3) ("peerCheckNetdbDirect: minimum_direct_hops = %d\n", + debug(44, 3) ("peerCheckNetdbDirect: MY hops = %d\n", myhops); + debug(44, 3) ("peerCheckNetdbDirect: minimum_direct_hops = %d\n", Config.minDirectHops); if (myhops && myhops <= Config.minDirectHops) return 1;