From: wessels <> Date: Thu, 30 Oct 1997 07:51:03 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~4630 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38d04788cd35b13dbd85a58316e398a7dcc653ef;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/client.cc b/src/client.cc index d3ba0d9770..d5d98d7dfc 100644 --- a/src/client.cc +++ b/src/client.cc @@ -1,6 +1,7 @@ + /* - * $Id: client.cc,v 1.37 1997/10/26 02:35:28 wessels Exp $ + * $Id: client.cc,v 1.38 1997/10/30 00:51:03 wessels Exp $ * * DEBUG: section 0 WWW Client * AUTHOR: Harvest Derived diff --git a/src/debug.cc b/src/debug.cc index b32415aaeb..32fd107e4b 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -1,5 +1,6 @@ + /* - * $Id: debug.cc,v 1.53 1997/10/25 17:22:38 wessels Exp $ + * $Id: debug.cc,v 1.54 1997/10/30 00:51:03 wessels Exp $ * * DEBUG: section 0 Debug Routines * AUTHOR: Harvest Derived diff --git a/src/errorpage.cc b/src/errorpage.cc index 6e4d54dec9..8388c1aa41 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.93 1997/10/29 22:39:51 wessels Exp $ + * $Id: errorpage.cc,v 1.94 1997/10/30 00:51:04 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -96,7 +96,7 @@ errorStateFree(ErrorState * err) safe_free(err->host); safe_free(err->dnsserver_msg); if (BIT_TEST(err->flags, ERR_FLAG_CBDATA)) - cbdataFree(err); + cbdataFree(err); else safe_free(err); } @@ -183,16 +183,16 @@ errorConvert(char token, ErrorState * err) case 'f': /* FTP REQUEST LINE */ if (err->ftp.request) - p = err->ftp.request; + p = err->ftp.request; else - p = ""; + p = ""; break; case 'F': /* FTP REPLY LINE */ if (err->ftp.request) - p = err->ftp.reply; + p = err->ftp.reply; else - p = ""; + p = ""; break; /* * e - errno x @@ -207,8 +207,8 @@ errorConvert(char token, ErrorState * err) * h - cache hostname x * d - seconds elapsed since request received * p - URL port # x - * f - FTP request line x - * F - FTP reply line x + * f - FTP request line x + * F - FTP reply line x */ default: p = "%UNKNOWN%"; diff --git a/src/main.cc b/src/main.cc index c448f1943e..e98575cac3 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.180 1997/10/27 23:30:24 wessels Exp $ + * $Id: main.cc,v 1.181 1997/10/30 00:51:05 wessels Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -271,6 +271,7 @@ time_tick(int sig) signal(sig, time_tick); #endif } + #endif static void diff --git a/src/protos.h b/src/protos.h index 009e4a7671..b708e638aa 100644 --- a/src/protos.h +++ b/src/protos.h @@ -555,7 +555,7 @@ extern OBJH neighborDumpNonPeers; extern OBJH dump_config; extern OBJH storeDirStats; extern OBJH pconnHistDump; -extern void dump_peers(StoreEntry *, peer * ); +extern void dump_peers(StoreEntry *, peer *); extern void pconnPush(int, const char *host, u_short port); extern int pconnPop(const char *host, u_short port); diff --git a/src/store_dir.cc b/src/store_dir.cc index 3025346cc4..017f29a0da 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir.cc,v 1.34 1997/10/27 22:49:50 wessels Exp $ + * $Id: store_dir.cc,v 1.35 1997/10/30 00:51:07 wessels Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -378,7 +378,7 @@ storeDirStats(StoreEntry * sentry) storeAppendPrintf(sentry, "Current Store Swap Size: %8d KB\n", store_swap_size); storeAppendPrintf(sentry, "Current Capacity : %d%% used, %d%% free\n", percent((int) store_swap_size, (int) Config.Swap.maxSize), - percent((int) (Config.Swap.maxSize- store_swap_size), (int) Config.Swap.maxSize)); + percent((int) (Config.Swap.maxSize - store_swap_size), (int) Config.Swap.maxSize)); for (i = 0; i < Config.cacheSwap.n_configured; i++) { SD = &Config.cacheSwap.swapDirs[i]; storeAppendPrintf(sentry, "\n");