]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
change debug levels
authorwessels <>
Fri, 29 Nov 1996 10:28:50 +0000 (10:28 +0000)
committerwessels <>
Fri, 29 Nov 1996 10:28:50 +0000 (10:28 +0000)
src/comm.cc
src/main.cc
src/neighbors.cc

index 5ab6a8d2a024b1739344d25dedd03f89162fd9af..fbfd7737d1b66b6584e28d039df35ba5f60968ab 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.111 1996/11/28 07:31:47 wessels Exp $
+ * $Id: comm.cc,v 1.112 1996/11/29 03:28:50 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -1208,8 +1208,7 @@ commHandleRead(int fd, RWStateData * state)
        } else {
            /* Len == 0 means connection closed; otherwise would not have been
             * called by comm_select(). */
-           debug(50, len == 0 ? 2 : 1,
-               "commHandleRead: FD %d: read failure: %s\n",
+           debug(50, 2, "commHandleRead: FD %d: read failure: %s\n",
                fd,
                len == 0 ? "connection closed" : xstrerror());
            RWStateCallbackAndFree(fd, COMM_ERROR);
index 1d761dbbeaee74475f952fea00adeb693e398320..21d1d35d27878f2fd2c7ef90a8c987446459feec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.cc,v 1.117 1996/11/28 07:27:38 wessels Exp $
+ * $Id: main.cc,v 1.118 1996/11/29 03:28:52 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -562,7 +562,7 @@ main(int argc, char **argv)
     time_t loop_delay;
 
     /* call mallopt() before anything else */
-#if 0 && HAVE_MALLOPT
+#if HAVE_MALLOPT
 #ifdef M_GRAIN
     /* Round up all sizes to a multiple of this */
     mallopt(M_GRAIN, 16);
index 020f4474aa22a52a42e3944d2b491f6d959691d0..1427399006555590e1f438af21dcc845830b564e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: neighbors.cc,v 1.93 1996/11/28 07:31:52 wessels Exp $
+ * $Id: neighbors.cc,v 1.94 1996/11/29 03:28:53 wessels Exp $
  *
  * DEBUG: section 15    Neighbor Routines
  * AUTHOR: Harvest Derived
@@ -602,12 +602,12 @@ neighborsUdpAck(int fd, const char *url, icp_common_t * header, const struct soc
        return;
     }
     if (mem == NULL) {
-       debug(15, 1, "Ignoring %s for missing mem_obj: %s\n", opcode_d, url);
+       debug(15, 2, "Ignoring %s for missing mem_obj: %s\n", opcode_d, url);
        neighborCountIgnored(e, opcode);
        return;
     }
     if (entry->ping_status != PING_WAITING) {
-       debug(15, 1, "neighborsUdpAck: Unexpected %s for %s\n", opcode_d, url);
+       debug(15, 2, "neighborsUdpAck: Unexpected %s for %s\n", opcode_d, url);
        neighborCountIgnored(e, opcode);
        return;
     }