From: wessels <> Date: Wed, 27 Nov 1996 06:22:16 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~5384 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25117b92906e1e3430adafe966ac0973317325f5;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index d41316a10b..85737b49e3 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,5 +1,5 @@ /* - * $Id: cache_cf.cc,v 1.145 1996/11/25 18:50:28 wessels Exp $ + * $Id: cache_cf.cc,v 1.146 1996/11/26 23:22:16 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -957,7 +957,7 @@ parseVizHackLine(void) } static void -parseProxyLine(edge **E) +parseProxyLine(edge ** E) { char *token; char *t; @@ -969,7 +969,7 @@ parseProxyLine(edge **E) edgeDestroy(*E); *E = NULL; } - e = xcalloc (1, sizeof(edge)); + e = xcalloc(1, sizeof(edge)); if ((t = strchr(token, ':'))) { *t++ = '\0'; e->http_port = atoi(t); diff --git a/src/url.cc b/src/url.cc index 9eae9e7397..74464487a6 100644 --- a/src/url.cc +++ b/src/url.cc @@ -1,6 +1,6 @@ /* - * $Id: url.cc,v 1.47 1996/11/25 23:37:11 wessels Exp $ + * $Id: url.cc,v 1.48 1996/11/26 23:22:19 wessels Exp $ * * DEBUG: section 23 URL Parsing * AUTHOR: Duane Wessels @@ -240,8 +240,8 @@ urlParse(method_t method, char *url) } /* remove trailing slashes from FTP URLs */ if (protocol == PROTO_FTP) { - t = urlpath + strlen(urlpath); - while (*(--t) == '/') + t = urlpath + strlen(urlpath); + while (*(--t) == '/') *t = '\0'; } request = get_free_request_t();