From: wessels <> Date: Wed, 4 Feb 1998 14:22:13 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~4186 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69e8183089060cdfec98a77a60c4f49f01c87c66;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/acl.cc b/src/acl.cc index 34d24aa5e7..4dbf1dbd73 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.132 1998/02/03 04:21:11 wessels Exp $ + * $Id: acl.cc,v 1.133 1998/02/04 07:22:13 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -1783,7 +1783,7 @@ aclReadProxyAuth(struct _acl_proxy_auth *p) passwd = strtok(NULL, "\n"); debug(28, 5) ("aclReadProxyAuth: adding new passwords to hash table\n"); while (user != NULL) { - if ((int)strlen(user) > 1 && passwd && (int) strlen(passwd) > 1) { + if ((int) strlen(user) > 1 && passwd && (int) strlen(passwd) > 1) { debug(28, 6) ("aclReadProxyAuth: adding %s, %s to hash table\n", user, passwd); hash_insert(p->hash, xstrdup(user), (void *) xstrdup(passwd)); } diff --git a/src/client.cc b/src/client.cc index eed7a46a61..01610b10ba 100644 --- a/src/client.cc +++ b/src/client.cc @@ -1,7 +1,8 @@ + /* - * $Id: client.cc,v 1.50 1998/02/02 21:16:18 wessels Exp $ + * $Id: client.cc,v 1.51 1998/02/04 07:22:15 wessels Exp $ * * DEBUG: section 0 WWW Client * AUTHOR: Harvest Derived diff --git a/src/client_side.cc b/src/client_side.cc index c8ad526fd0..7620dabb64 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.203 1998/02/03 04:21:12 wessels Exp $ + * $Id: client_side.cc,v 1.204 1998/02/04 07:22:16 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -495,7 +495,7 @@ clientPurgeRequest(clientHttpRequest * http) http->http_code = HTTP_OK; } msg = httpReplyHeader(1.0, http->http_code, NULL, 0, 0, -1); - if ((int)strlen(msg) < 8190) + if ((int) strlen(msg) < 8190) strcat(msg, "\r\n"); comm_write(fd, xstrdup(msg), strlen(msg), clientWriteComplete, http, xfree); } diff --git a/src/ftp.cc b/src/ftp.cc index 01d6041000..331947ecd1 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.190 1998/02/03 04:21:14 wessels Exp $ + * $Id: ftp.cc,v 1.191 1998/02/04 07:22:18 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -548,7 +548,7 @@ ftpHtmlifyListEntry(char *line, FtpStateData * ftpState) size_t width = Config.Ftp.list_width; ftpListParts *parts; int flags = ftpState->flags; - if ((int)strlen(line) > 1024) { + if ((int) strlen(line) > 1024) { snprintf(html, 8192, "%s\n", line); return html; } @@ -1487,7 +1487,7 @@ ftpReadPasv(FtpStateData * ftpState) ftpSendPort(ftpState); return; } - if ((int)strlen(buf) > 1024) { + if ((int) strlen(buf) > 1024) { debug(9, 1) ("ftpReadPasv: Avoiding potential buffer overflow\n"); ftpSendPort(ftpState); return; @@ -1909,7 +1909,7 @@ ftpUrlWith2f(const request_t * request) if (request->port != urlDefaultPort(request->protocol)) snprintf(portbuf, 32, ":%d", request->port); loginbuf[0] = '\0'; - if ((int)strlen(request->login) > 0) { + if ((int) strlen(request->login) > 0) { strcpy(loginbuf, request->login); if ((t = strchr(loginbuf, ':'))) *t = '\0'; diff --git a/src/http.cc b/src/http.cc index d5450fab23..3249310d4a 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.235 1998/02/03 04:21:15 wessels Exp $ + * $Id: http.cc,v 1.236 1998/02/04 07:22:20 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -826,13 +826,13 @@ httpBuildRequestHeader(request_t * request, EBIT_SET(cc_flags, CCC_MAXAGE); } else if (strncasecmp(xbuf, "Via:", 4) == 0) { for (s = xbuf + 4; *s && isspace(*s); s++); - if ((int)strlen(viabuf) + (int)strlen(s) < 4000) + if ((int) strlen(viabuf) + (int) strlen(s) < 4000) strcat(viabuf, s); strcat(viabuf, ", "); continue; } else if (strncasecmp(xbuf, "X-Forwarded-For:", 16) == 0) { for (s = xbuf + 16; *s && isspace(*s); s++); - if ((int)strlen(fwdbuf) + (int)strlen(s) < 4000) + if ((int) strlen(fwdbuf) + (int) strlen(s) < 4000) strcat(fwdbuf, s); strcat(fwdbuf, ", "); continue;