]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Thu, 28 Mar 1996 01:50:57 +0000 (01:50 +0000)
committerwessels <>
Thu, 28 Mar 1996 01:50:57 +0000 (01:50 +0000)
src/cache_cf.cc
src/debug.cc
src/main.cc
src/tools.cc

index 1377702f86aa15eb7132372aa77b150e3a78b14e..8f40149af7d9b8165978bdae95ea506bfecae94e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: cache_cf.cc,v 1.7 1996/03/27 18:50:20 wessels Exp $ */
+/* $Id: cache_cf.cc,v 1.8 1996/03/27 18:50:57 wessels Exp $ */
 
 #include "squid.h"
 
@@ -118,7 +118,7 @@ static struct {
 #define DefaultNeighborTimeout  2      /* 2 seconds */
 #define DefaultStallDelay      3       /* 3 seconds */
 #define DefaultSingleParentBypass 0    /* default off */
-#define DefaultPidFilename      (char *)NULL    /* default NONE */
+#define DefaultPidFilename      (char *)NULL   /* default NONE */
 
 extern char *config_file;
 
index 8fa9fb807640c323a36110816fa5429a2b98362a..e381490e31375b5566c3076fb8af06ba8830dc95 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: debug.cc,v 1.7 1996/03/27 18:50:22 wessels Exp $ */
+/* $Id: debug.cc,v 1.8 1996/03/27 18:50:58 wessels Exp $ */
 
 #include "squid.h"
 
@@ -138,7 +138,6 @@ void _db_init(logfile)
        }
        xfree(p);
     }
-
     debugOpenLog(logfile);
 
 #if HAVE_SYSLOG
index a32f9479c034456084eff9f85f5287b78731cdb5..46e24073f536a35535e6bb1bdfd7a6b5d8d1cabf 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.cc,v 1.11 1996/03/27 18:50:23 wessels Exp $ */
+/* $Id: main.cc,v 1.12 1996/03/27 18:50:59 wessels Exp $ */
 
 #include "squid.h"
 
@@ -38,7 +38,7 @@ static int udpPortNumOverride = 0;
 
 static void usage()
 {
-           fprintf(stderr, "\
+    fprintf(stderr, "\
 Usage: cached [-Rsehvz] [-f config-file] [-[apu] port]\n\
        -h        Print help message.\n\
        -s        Enable logging to syslog.\n\
@@ -51,8 +51,8 @@ Usage: cached [-Rsehvz] [-f config-file] [-[apu] port]\n\
                  $HARVEST_HOME/lib/cached.conf.\n\
        -a port  Specify ASCII port number (default: %d).\n\
        -u port  Specify UDP port number (default: %d).\n",
-               CACHE_HTTP_PORT, CACHE_ICP_PORT);
-       exit(1);
+       CACHE_HTTP_PORT, CACHE_ICP_PORT);
+    exit(1);
 }
 
 int main(argc, argv)
index 9f50221d9c16ba005bfc680b4aa976da985da339..099117e0699a4aef8cbc7827d8507815302b7ea1 100644 (file)
@@ -1,5 +1,5 @@
 
-/* $Id: tools.cc,v 1.11 1996/03/27 18:50:24 wessels Exp $ */
+/* $Id: tools.cc,v 1.12 1996/03/27 18:50:59 wessels Exp $ */
 
 #include "squid.h"
 
@@ -342,9 +342,9 @@ void writePidFile()
     if ((f = getPidFilename()) == NULL)
        return;
     if ((pid_fp = fopen(f, "w")) == NULL) {
-        debug(0,0,"WARNING: Could not write pid file\n");
-        debug(0,0,"         %s: %s\n", f, xstrerror());
-        return;
+       debug(0, 0, "WARNING: Could not write pid file\n");
+       debug(0, 0, "         %s: %s\n", f, xstrerror());
+       return;
     }
     fprintf(pid_fp, "%d\n", (int) getpid());
     fclose(pid_fp);