From: wessels <> Date: Tue, 9 Jul 1996 10:47:16 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~6090 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b560dd204b123dfaf953508bb63d6643f17d2d10;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/comm.cc b/src/comm.cc index 5049dce4aa..13d1cfb9f1 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -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; diff --git a/src/disk.cc b/src/disk.cc index f4e1a5d963..371f14b3cd 100644 --- a/src/disk.cc +++ b/src/disk.cc @@ -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 } diff --git a/src/dnsserver.cc b/src/dnsserver.cc index d2a71874ee..39ce74a7d3 100644 --- a/src/dnsserver.cc +++ b/src/dnsserver.cc @@ -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 diff --git a/src/squid.h b/src/squid.h index d689715b1a..20c3be0a2f 100644 --- a/src/squid.h +++ b/src/squid.h @@ -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 diff --git a/src/stat.cc b/src/stat.cc index fd81fe764b..181a0aa162 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -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",