]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Tue, 9 Jul 1996 10:47:16 +0000 (10:47 +0000)
committerwessels <>
Tue, 9 Jul 1996 10:47:16 +0000 (10:47 +0000)
src/comm.cc
src/disk.cc
src/dnsserver.cc
src/squid.h
src/stat.cc

index 5049dce4aa7918d6d5c657d84c1a26a7e816bc79..13d1cfb9f18015ed9812c122163587f245b82cd8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.34 1996/07/09 04:46:50 wessels Exp $
+ * $Id: comm.cc,v 1.35 1996/07/09 04:47:16 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -669,9 +669,9 @@ int comm_select(sec, failtime)
        maxfd = fdstat_biggest_fd() + 1;
        for (i = 0; i < maxfd; i++) {
 #if USE_ASYNC_IO
-           /* Using async IO for disk handle, so don't select on them */
-           if (fdstat_type(i) == FD_FILE) 
-               continue;
+           /* Using async IO for disk handle, so don't select on them */
+           if (fdstat_type(i) == FD_FILE)
+               continue;
 #endif
            /* Check each open socket for a handler. */
            if (fd_table[i].read_handler && fd_table[i].stall_until <= squid_curtime) {
@@ -698,10 +698,10 @@ int comm_select(sec, failtime)
            debug(5, 2, "comm_select: Still waiting on %d FDs\n", nfds);
        while (1) {
 #if USE_ASYNC_IO
-           /* Another CPU vs latency tradeoff for async IO */
-           poll_time.tv_sec = 0;
-           poll_time.tv_usec = 250000;
-#else      
+           /* Another CPU vs latency tradeoff for async IO */
+           poll_time.tv_sec = 0;
+           poll_time.tv_usec = 250000;
+#else
            poll_time.tv_sec = sec > 1 ? 1 : 0;
            poll_time.tv_usec = 0;
 #endif
@@ -717,7 +717,7 @@ int comm_select(sec, failtime)
            /* NOTREACHED */
        }
 #if USE_ASYNC_IO
-       aioExamine();          /* See if any IO completed */
+       aioExamine();           /* See if any IO completed */
 #endif
        if (num < 0)
            continue;
index f4e1a5d963c5ea61f104624ce6fa70923549b5f5..371f14b3cd597ae3f12aebf89fa6a3cfbbc447c1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: disk.cc,v 1.14 1996/07/09 04:46:51 wessels Exp $
+ * $Id: disk.cc,v 1.15 1996/07/09 04:47:16 wessels Exp $
  *
  * DEBUG: section 6     Disk I/O Routines
  * AUTHOR: Harvest Derived
@@ -443,7 +443,7 @@ int file_write(fd, ptr_to_buf, len, access_code, handle, handle_data)
     comm_set_select_handler(fd,
        COMM_SELECT_WRITE,
        (PF) diskHandleWrite,
-        (void *) &file_table[fd]);
+       (void *) &file_table[fd]);
     return DISK_OK;
 #endif
 }
index d2a71874ee0a66c8ee72f91cc9a2c7b8a7041581..39ce74a7d3f16324782d7905212deef57451bb09 100644 (file)
@@ -1,5 +1,6 @@
+
 /*
- * $Id: dnsserver.cc,v 1.7 1996/07/09 03:41:22 wessels Exp $
+ * $Id: dnsserver.cc,v 1.8 1996/07/09 04:47:18 wessels Exp $
  *
  * DEBUG: section 0     DNS Resolver
  * AUTHOR: Harvest Derived
index d689715b1a76bd8ccb60af296cbc730855e2fe49..20c3be0a2f65a3d7e81601de18c59a4904687c7d 100644 (file)
@@ -1,5 +1,6 @@
+
 /*
- * $Id: squid.h,v 1.24 1996/07/09 04:46:52 wessels Exp $
+ * $Id: squid.h,v 1.25 1996/07/09 04:47:23 wessels Exp $
  *
  * AUTHOR: Duane Wessels
  *
@@ -260,7 +261,7 @@ extern struct in_addr any_addr;     /* comm.c */
 
 
 /* Prototypes and definitions which don't really deserve a seaprate
  include file */
* include file */
 
 #define  CONNECT_PORT        443
 
index fd81fe764bf0b859557be1dac64f219e4c3771ca..181a0aa1622d26d95336733d22e41aeb4f7b9348 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: stat.cc,v 1.35 1996/07/09 03:41:41 wessels Exp $
+ * $Id: stat.cc,v 1.36 1996/07/09 04:47:24 wessels Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -577,9 +577,9 @@ void info_get(obj, sentry)
 #if HAVE_MALLINFO
     mp = mallinfo();
     storeAppendPrintf(sentry, "{Memory usage for %s via mallinfo():}\n", appname
-);
+       );
     storeAppendPrintf(sentry, "{\tTotal space in arena:  %6d KB}\n",
-        mp.arena >> 10);
+       mp.arena >> 10);
     storeAppendPrintf(sentry, "{\tOrdinary blocks:       %6d KB %6d blks}\n",
        mp.uordblks >> 10, mp.ordblks);
     storeAppendPrintf(sentry, "{\tSmall blocks:          %6d KB %6d blks}\n",