]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Thu, 2 May 1996 04:37:13 +0000 (04:37 +0000)
committerwessels <>
Thu, 2 May 1996 04:37:13 +0000 (04:37 +0000)
src/stat.cc
src/store.cc

index 24e6dd75aa5470f857bb4b8a57d3811e91d80ca3..bb4ea1911a212d74ab7de2fff58334fe823fb937 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: stat.cc,v 1.31 1996/05/01 22:36:38 wessels Exp $ */
+/* $Id: stat.cc,v 1.32 1996/05/01 22:37:13 wessels Exp $ */
 
 /*
  * DEBUG: Section 18          stat
@@ -395,7 +395,7 @@ void info_get(obj, sentry)
        float f;
        f = squid_curtime - squid_starttime;
        storeAppendPrintf(sentry, "{\tConnections per hour:\t%.1f}\n",
-               f == 0.0 ? 0.0 :
+           f == 0.0 ? 0.0 :
            ((ntcpconn + nudpconn) / (f / 3600)));
     }
 
index 4f55d001c9899502577843ae4bd70daf498fc241..2b1c19389e943ef77ae3f2bdeed22e0309b7e42d 100644 (file)
@@ -1,5 +1,5 @@
 
-/* $Id: store.cc,v 1.63 1996/05/01 22:36:39 wessels Exp $ */
+/* $Id: store.cc,v 1.64 1996/05/01 22:37:14 wessels Exp $ */
 
 /*
  * DEBUG: Section 20          store
@@ -926,27 +926,27 @@ void storeAppend(e, data, len)
 }
 
 #if defined(__STRICT_ANSI__)
-void storeAppendPrintf(StoreEntry *e, char *fmt, ...)
+void storeAppendPrintf(StoreEntry * e, char *fmt,...)
 {
-       va_list args;
-       static char buf[4096];
-       va_start(args, fmt);
+    va_list args;
+    static char buf[4096];
+    va_start(args, fmt);
 #else
 void storeAppendPrintf(va_alist)
-       va_dcl
-{
-       va_list args;
-       StoreEntry *e = NULL;
-       char *fmt = NULL;
-       static char buf[4096];
-       va_start(args);
-       e = va_arg(args, StoreEntry *);
-       fmt = va_arg(args, char *);
+     va_dcl
+{
+    va_list args;
+    StoreEntry *e = NULL;
+    char *fmt = NULL;
+    static char buf[4096];
+    va_start(args);
+    e = va_arg(args, StoreEntry *);
+    fmt = va_arg(args, char *);
 #endif
-       buf[0]  = '\0';
-       vsprintf(buf, fmt, args);
-       storeAppend(e, buf, strlen(buf));
-       va_end(args);
+    buf[0] = '\0';
+    vsprintf(buf, fmt, args);
+    storeAppend(e, buf, strlen(buf));
+    va_end(args);
 }