From: wessels <> Date: Fri, 21 Aug 1998 22:58:11 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~2810 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49c0f46d8d350ed7bfee030d708b00fe5f439653;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 75566c4979..44cfca2697 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.cc,v 1.301 1998/08/21 04:03:44 wessels Exp $ + * $Id: cache_cf.cc,v 1.302 1998/08/21 16:58:11 wessels Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -307,19 +307,19 @@ configDoConfigure(void) requirePathnameExists("Error Directory", Config.errorDirectory); #if HTTP_VIOLATIONS { - const refresh_t *R; - for (R = Config.Refresh; R; R = R->next) { - if (!R->flags.override_expire) - continue; - debug(22, 1) ("WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP\n"); - break; - } - for (R = Config.Refresh; R; R = R->next) { - if (!R->flags.override_lastmod) - continue; - debug(22, 1) ("WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP\n"); - break; - } + const refresh_t *R; + for (R = Config.Refresh; R; R = R->next) { + if (!R->flags.override_expire) + continue; + debug(22, 1) ("WARNING: use of 'override-expire' in 'refresh_pattern' violates HTTP\n"); + break; + } + for (R = Config.Refresh; R; R = R->next) { + if (!R->flags.override_lastmod) + continue; + debug(22, 1) ("WARNING: use of 'override-lastmod' in 'refresh_pattern' violates HTTP\n"); + break; + } } #endif } diff --git a/src/stat.cc b/src/stat.cc index f3115d957e..e5efe03e46 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.280 1998/08/21 07:37:24 wessels Exp $ + * $Id: stat.cc,v 1.281 1998/08/21 16:58:12 wessels Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -269,7 +269,7 @@ statStoreEntry(StoreEntry * s, StoreEntry * e) (int) mem->swapout.done_offset, (int) mem->swapout.queue_offset, mem->swapout.fd); - for (i=0, sc = &mem->clients[i]; sc != NULL; sc = sc->next, i++) { + for (i = 0, sc = &mem->clients[i]; sc != NULL; sc = sc->next, i++) { if (sc->callback_data == NULL) continue; storeAppendPrintf(s, "\tClient #%d\n", i);