]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Thu, 30 Oct 1997 07:51:03 +0000 (07:51 +0000)
committerwessels <>
Thu, 30 Oct 1997 07:51:03 +0000 (07:51 +0000)
src/client.cc
src/debug.cc
src/errorpage.cc
src/main.cc
src/protos.h
src/store_dir.cc

index d3ba0d97709840453657f38f768308dcb72bb63e..d5d98d7dfc7bbef79f6f729933b18e274490373c 100644 (file)
@@ -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
index b32415aaeb0905e1a4f6a2c55a990819141378b0..32fd107e4b6a90912ef52c1ded601dcd414047a5 100644 (file)
@@ -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
index 6e4d54dec90d879f775c19fb41ccee81f07e623a..8388c1aa41a62c305eacc95ba0e2fde26ee98ab0 100644 (file)
@@ -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 = "<none>";
+           p = "<none>";
        break;
     case 'F':
        /* FTP REPLY LINE */
        if (err->ftp.request)
-               p = err->ftp.reply;
+           p = err->ftp.reply;
        else
-               p = "<none>";
+           p = "<none>";
        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%";
index c448f1943eb214f1422aae3637002feeeb1cd1d2..e98575cac350501a663b8dd3ba743a88546d60fb 100644 (file)
@@ -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
index 009e4a7671f2b4dac9d445dd46a609c756adff6f..b708e638aa1a5216bff4f24a6ac3f5216f06feab 100644 (file)
@@ -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);
index 3025346cc4e44179b0c35a08770ad3420cb8c81b..017f29a0da21141cfece830ac341de680d834c29 100644 (file)
@@ -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");