From: wessels <> Date: Thu, 28 Mar 1996 01:50:57 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~6367 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77ffc99fd6b2113ca1da7087c41ecabc89ef5d28;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 1377702f86..8f40149af7 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -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; diff --git a/src/debug.cc b/src/debug.cc index 8fa9fb8076..e381490e31 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -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 diff --git a/src/main.cc b/src/main.cc index a32f9479c0..46e24073f5 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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) diff --git a/src/tools.cc b/src/tools.cc index 9f50221d9c..099117e069 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -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);