From: wessels <> Date: Thu, 28 Nov 1996 14:07:27 +0000 (+0000) Subject: debugging cleanup X-Git-Tag: SQUID_3_0_PRE1~5382 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0c42e90ae4e209f9640a0c2b33eff5cea6c3306;p=thirdparty%2Fsquid.git debugging cleanup --- diff --git a/src/comm.cc b/src/comm.cc index 1392193115..b60b808488 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.109 1996/11/24 04:19:09 wessels Exp $ + * $Id: comm.cc,v 1.110 1996/11/28 07:07:27 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -509,6 +509,7 @@ commCallCloseHandlers(int fd) { FD_ENTRY *conn = &fd_table[fd]; struct close_handler *ch; + debug(5,5,"commCallCloseHandlers: FD %d\n", fd); while ((ch = conn->close_handler) != NULL) { conn->close_handler = ch->next; ch->handler(fd, ch->data); @@ -861,9 +862,8 @@ void comm_add_close_handler(int fd, PF handler, void *data) { struct close_handler *new = xmalloc(sizeof(*new)); - - debug(5, 5, "comm_add_close_handler: fd=%d handler=%p data=%p\n", fd, handler, data); - + debug(5, 5, "comm_add_close_handler: FD %d, handler=%p, data=%p\n", + fd, handler, data); new->handler = handler; new->data = data; new->next = fd_table[fd].close_handler;