]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Wed, 17 Apr 1996 21:07:26 +0000 (21:07 +0000)
committerwessels <>
Wed, 17 Apr 1996 21:07:26 +0000 (21:07 +0000)
src/comm.cc
src/main.cc
src/tools.cc

index f63944e83980aeda784bc74d79a1f9631150fbef..35e36083c01799f867764cd18f2abe23ad4894e4 100644 (file)
@@ -1,5 +1,5 @@
 
-/* $Id: comm.cc,v 1.26 1996/04/16 20:29:26 wessels Exp $ */
+/* $Id: comm.cc,v 1.27 1996/04/17 15:07:26 wessels Exp $ */
 
 /* DEBUG: Section 5             comm: socket level functions */
 
@@ -21,7 +21,7 @@ FD_ENTRY *fd_table = NULL;    /* also used in disk.c */
 
 /* STATIC */
 static int *fd_lifetime = NULL;
-static void checkTimeouts  _PARAMS((void));
+static void checkTimeouts _PARAMS((void));
 static void checkLifetimes _PARAMS((void));
 static void Reserve_More_FDs _PARAMS((void));
 static int commSetReuseAddr _PARAMS((int));
@@ -497,7 +497,7 @@ static void comm_select_incoming()
     if (maxfd++ == 0)
        return;
     if (select(maxfd, &read_mask, &write_mask, NULL, &zero_tv) > 0) {
-       for (i=0; i<N; i++) {
+       for (i = 0; i < N; i++) {
            fd = fds[i];
            if (FD_ISSET(fd, &read_mask)) {
                tmp = fd_table[fd].read_handler;
index e50c2d1cd18acfefeee05d74499e57ed045c3036..cf0d80198433dea21292a98ec0f612252d7d2f11 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: main.cc,v 1.40 1996/04/16 23:05:44 wessels Exp $ */
+/* $Id: main.cc,v 1.41 1996/04/17 15:07:31 wessels Exp $ */
 
 /* DEBUG: Section 1             main: startup and main loop */
 
@@ -344,7 +344,7 @@ int main(argc, argv)
        case COMM_SHUTDOWN:
            /* delayed close so we can transmit while shutdown pending */
            if (theUdpConnection > 0) {
-               comm_close (theUdpConnection);
+               comm_close(theUdpConnection);
                theUdpConnection = -1;
            }
            if (shutdown_pending) {
index a7bb7b2753c927d8d5941af2ab7763437bdb7ba3..ce14c6dca341b231473758638a88493da69a312f 100644 (file)
@@ -1,5 +1,5 @@
 
-/* $Id: tools.cc,v 1.37 1996/04/16 20:32:53 wessels Exp $ */
+/* $Id: tools.cc,v 1.38 1996/04/17 15:07:32 wessels Exp $ */
 
 /*
  * DEBUG: Section 21          tools
@@ -174,7 +174,7 @@ void shut_down(sig)
        f = &fd_table[i];
        if (f->read_handler || f->write_handler || f->except_handler)
            if (fdstatGetType(i) == Socket)
-               comm_set_fd_lifetime(i, 30);
+               comm_set_fd_lifetime(i, 30);
     }
     shutdown_pending = 1;
     /* reinstall signal handler? */
@@ -420,7 +420,7 @@ void reconfigure(sig)
        f = &fd_table[i];
        if (f->read_handler || f->write_handler || f->except_handler)
            if (fdstatGetType(i) == Socket)
-               comm_set_fd_lifetime(i, 30);
+               comm_set_fd_lifetime(i, 30);
     }
 #if defined(_SQUID_SYSV_SIGNALS_)
     signal(sig, reconfigure);