From: wessels <> Date: Fri, 22 Nov 1996 15:38:50 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~5432 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f07153cfcadf80b92b7da9f2befc823d9c0f1ec;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/fqdncache.cc b/src/fqdncache.cc index ce7fe3e3c5..8ba6b4043d 100644 --- a/src/fqdncache.cc +++ b/src/fqdncache.cc @@ -1,6 +1,6 @@ /* - * $Id: fqdncache.cc,v 1.38 1996/11/22 07:43:13 wessels Exp $ + * $Id: fqdncache.cc,v 1.39 1996/11/22 08:38:50 wessels Exp $ * * DEBUG: section 35 FQDN Cache * AUTHOR: Harvest Derived @@ -510,7 +510,8 @@ fqdncache_parsebuffer(const char *inbuf, dnsserver_t * dnsData) return &f; } -static void fqdncache_dnsHandleRead(int fd, void *data) +static void +fqdncache_dnsHandleRead(int fd, void *data) { dnsserver_t *dnsData = data; int len; diff --git a/src/ipcache.cc b/src/ipcache.cc index 63b98a564d..94839a770b 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -1,5 +1,5 @@ /* - * $Id: ipcache.cc,v 1.87 1996/11/22 04:37:59 wessels Exp $ + * $Id: ipcache.cc,v 1.88 1996/11/22 08:38:51 wessels Exp $ * * DEBUG: section 14 IP Cache * AUTHOR: Harvest Derived @@ -539,7 +539,7 @@ ipcache_parsebuffer(const char *inbuf, dnsserver_t * dnsData) fatal_dump("Invalid $ttl"); i.expires = squid_curtime + atoi(token); } else { - debug(14,0,"--> %s <--\n", inbuf); + debug(14, 0, "--> %s <--\n", inbuf); debug_trap("Invalid dnsserver output"); } } diff --git a/src/mime.cc b/src/mime.cc index a3b69e3e6f..38bf5b8f9e 100644 --- a/src/mime.cc +++ b/src/mime.cc @@ -1,5 +1,5 @@ /* - * $Id: mime.cc,v 1.22 1996/11/18 18:21:33 wessels Exp $ + * $Id: mime.cc,v 1.23 1996/11/22 08:38:51 wessels Exp $ * * DEBUG: section 25 MIME Parsing * AUTHOR: Harvest Derived @@ -131,7 +131,7 @@ mime_get_header(const char *mime, const char *name) continue; if (!isspace(p[namelen]) && p[namelen] != ':') continue; - xstrncpy(header, p, strcspn(p, "\n\r")+1); + xstrncpy(header, p, strcspn(p, "\n\r") + 1); debug(25, 5, "mime_get_header: checking '%s'\n", header); q = header; q += namelen; diff --git a/src/tools.cc b/src/tools.cc index d2268884e1..3fc6b98447 100644 --- a/src/tools.cc +++ b/src/tools.cc @@ -1,6 +1,6 @@ /* - * $Id: tools.cc,v 1.85 1996/11/22 05:07:17 wessels Exp $ + * $Id: tools.cc,v 1.86 1996/11/22 08:38:52 wessels Exp $ * * DEBUG: section 21 Misc Functions * AUTHOR: Harvest Derived @@ -244,15 +244,15 @@ death(int sig) #ifdef PRINT_STACK_TRACE #ifdef _SQUID_HPUX_ { - extern void U_STACK_TRACE(void); /* link with -lcl */ + extern void U_STACK_TRACE(void); /* link with -lcl */ fflush(debug_log); dup2(fileno(debug_log), 2); U_STACK_TRACE(); } #endif /* _SQUID_HPUX_ */ #ifdef _SQUID_SOLARIS_ - { /* get ftp://opcom.sun.ca/pub/tars/opcom_stack.tar.gz and */ - extern void opcom_stack_trace(void); /* link with -lopcom_stack */ + { /* get ftp://opcom.sun.ca/pub/tars/opcom_stack.tar.gz and */ + extern void opcom_stack_trace(void); /* link with -lopcom_stack */ fflush(debug_log); dup2(fileno(debug_log), fileno(stdout)); opcom_stack_trace();