]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Fri, 22 Nov 1996 15:38:50 +0000 (15:38 +0000)
committerwessels <>
Fri, 22 Nov 1996 15:38:50 +0000 (15:38 +0000)
src/fqdncache.cc
src/ipcache.cc
src/mime.cc
src/tools.cc

index ce7fe3e3c5fdb4708331d0af65b7358ad2fa6c8f..8ba6b4043db6ed886a985e94bb2ed281408127d2 100644 (file)
@@ -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;
index 63b98a564d78eb3b6c89731a788bc994c775d496..94839a770bd700f060e984305f07425edb77cf01 100644 (file)
@@ -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");
        }
     }
index a3b69e3e6ffd37f93f13eeca7b43396ae06e9730..38bf5b8f9e9901eca2218cb22ae7e82a9caa07d4 100644 (file)
@@ -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;
index d2268884e155ef806f2415e2f4043adfc6be5636..3fc6b98447e9c9dca4c16a09d0d6ef5d9cfda756 100644 (file)
@@ -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();