From 4a63c85fa691d1014544c14e4056b92192eb9fee Mon Sep 17 00:00:00 2001 From: wessels <> Date: Sat, 20 Jul 1996 10:22:21 +0000 Subject: [PATCH] gindent --- src/acl.cc | 6 +++--- src/comm.cc | 12 ++++++------ src/ftp.cc | 4 ++-- src/http.cc | 4 ++-- src/ssl.cc | 6 +++--- src/tunnel.cc | 6 +++--- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/acl.cc b/src/acl.cc index 2886c87f9b..1d19f8e3d2 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,5 +1,5 @@ /* - * $Id: acl.cc,v 1.20 1996/07/20 04:21:54 wessels Exp $ + * $Id: acl.cc,v 1.21 1996/07/20 04:22:21 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -627,7 +627,7 @@ static int aclMatchTime(data, when) int aclMatchAcl(acl, checklist) struct _acl *acl; - aclCheck_t *checklist; + aclCheck_t *checklist; { request_t *r = checklist->request; struct hostent *hp = NULL; @@ -648,7 +648,7 @@ int aclMatchAcl(acl, checklist) for (k = 0; *(hp->h_addr_list + k); k++) { xmemcpy(&checklist->dst_addr.s_addr, *(hp->h_addr_list + k), - hp->h_length); + hp->h_length); if (aclMatchIp(acl->data, checklist->dst_addr)) return 1; } diff --git a/src/comm.cc b/src/comm.cc index 83f4c5f954..b5ce562abb 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.42 1996/07/20 03:37:43 wessels Exp $ + * $Id: comm.cc,v 1.43 1996/07/20 04:22:23 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -129,7 +129,7 @@ struct _RWStateData { rw_complete_handler *handler; void *handler_data; int handle_immed; - void (*free)(void *); + void (*free) (void *); }; /* GLOBAL */ @@ -495,8 +495,8 @@ void comm_close(fd) conn->openned = 0; RWStateCallbackAndFree(fd, conn->rwstate, COMM_ERROR); comm_set_fd_lifetime(fd, -1); /* invalidate the lifetime */ - fdstat_close(fd); /* update fdstat */ - while ((ch = conn->close_handler)) { /* Call close handlers */ + fdstat_close(fd); /* update fdstat */ + while ((ch = conn->close_handler)) { /* Call close handlers */ conn->close_handler = ch->next; ch->handler(fd, ch->data); safe_free(ch); @@ -1233,7 +1233,7 @@ static int commHandleRead(fd, state) * called by comm_select(). */ debug(5, len == 0 ? 2 : 1, "commHandleRead: FD %d: read failure: %s\n", fd, len == 0 ? "connection closed" : xstrerror()); - fd_table[fd].rwstate = NULL; /* handler may issue new read */ + fd_table[fd].rwstate = NULL; /* handler may issue new read */ RWStateCallbackAndFree(fd, state, COMM_ERROR); return COMM_ERROR; } @@ -1354,7 +1354,7 @@ void comm_write(fd, buf, size, timeout, handler, handler_data, free) int timeout; rw_complete_handler *handler; void *handler_data; - void (*free)(void *); + void (*free) (void *); { RWStateData *state = NULL; diff --git a/src/ftp.cc b/src/ftp.cc index d14f8d802d..416e1a8575 100644 --- a/src/ftp.cc +++ b/src/ftp.cc @@ -1,6 +1,6 @@ /* - * $Id: ftp.cc,v 1.46 1996/07/20 03:16:50 wessels Exp $ + * $Id: ftp.cc,v 1.47 1996/07/20 04:22:24 wessels Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -339,7 +339,7 @@ int ftpReadReply(fd, data) len = read(fd, buf, SQUID_TCP_SO_RCVBUF); debug(9, 5, "ftpReadReply: FD %d, Read %d bytes\n", fd, len); if (len > 0) { - IOStats.Ftp.reads++; + IOStats.Ftp.reads++; for (clen = len - 1, bin = 0; clen; bin++) clen >>= 1; IOStats.Ftp.read_hist[bin]++; diff --git a/src/http.cc b/src/http.cc index 4ea4d8f5ba..1985f70f61 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,5 +1,5 @@ /* - * $Id: http.cc,v 1.64 1996/07/20 03:16:51 wessels Exp $ + * $Id: http.cc,v 1.65 1996/07/20 04:22:25 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -443,7 +443,7 @@ static void httpReadReply(fd, httpState) debug(11, 5, "httpReadReply: FD %d: len %d.\n", fd, len); comm_set_fd_lifetime(fd, 86400); /* extend after good read */ if (len > 0) { - IOStats.Http.reads++; + IOStats.Http.reads++; for (clen = len - 1, bin = 0; clen; bin++) clen >>= 1; IOStats.Http.read_hist[bin]++; diff --git a/src/ssl.cc b/src/ssl.cc index 0299717174..9ec7dc9639 100644 --- a/src/ssl.cc +++ b/src/ssl.cc @@ -1,6 +1,6 @@ /* - * $Id: ssl.cc,v 1.7 1996/07/20 03:16:55 wessels Exp $ + * $Id: ssl.cc,v 1.8 1996/07/20 04:22:27 wessels Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -371,7 +371,7 @@ static int sslConnect(fd, hp, sslState) 30, sslErrorComplete, (void *) sslState, - xfree); + xfree); return COMM_ERROR; } debug(26, 5, "sslConnect: client=%d server=%d\n", @@ -452,7 +452,7 @@ int sslStart(fd, url, request, mime_hdr, size_ptr) 30, sslErrorComplete, (void *) sslState, - xfree); + xfree); return COMM_ERROR; } sslState = xcalloc(1, sizeof(SslStateData)); diff --git a/src/tunnel.cc b/src/tunnel.cc index 03eab98d16..ea01bc2ba2 100644 --- a/src/tunnel.cc +++ b/src/tunnel.cc @@ -1,6 +1,6 @@ /* - * $Id: tunnel.cc,v 1.7 1996/07/20 03:16:55 wessels Exp $ + * $Id: tunnel.cc,v 1.8 1996/07/20 04:22:27 wessels Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -371,7 +371,7 @@ static int sslConnect(fd, hp, sslState) 30, sslErrorComplete, (void *) sslState, - xfree); + xfree); return COMM_ERROR; } debug(26, 5, "sslConnect: client=%d server=%d\n", @@ -452,7 +452,7 @@ int sslStart(fd, url, request, mime_hdr, size_ptr) 30, sslErrorComplete, (void *) sslState, - xfree); + xfree); return COMM_ERROR; } sslState = xcalloc(1, sizeof(SslStateData)); -- 2.47.3