]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
add FD to debugging message
authorwessels <>
Wed, 5 May 1999 01:26:45 +0000 (01:26 +0000)
committerwessels <>
Wed, 5 May 1999 01:26:45 +0000 (01:26 +0000)
src/comm_select.cc

index 1ae600e6d92829328445acb20baa57af26400c08..c3177a3f7bad043124a16ce998ca9411e65acfef 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm_select.cc,v 1.33 1999/05/04 19:22:24 wessels Exp $
+ * $Id: comm_select.cc,v 1.34 1999/05/04 19:26:45 wessels Exp $
  *
  * DEBUG: section 5     Socket Functions
  *
@@ -214,14 +214,16 @@ comm_check_incoming_poll_handlers(int nfds, int *fds)
                fd_table[fd].read_handler = NULL;
                hdl(fd, &incame);
            } else
-               debug(5, 1) ("comm_poll_incoming: NULL read handler\n");
+               debug(5, 1) ("comm_poll_incoming: FD %d NULL read handler\n",
+                   fd);
        }
        if (revents & (POLLWRNORM | POLLOUT | POLLHUP | POLLERR)) {
            if ((hdl = fd_table[fd].write_handler)) {
                fd_table[fd].write_handler = NULL;
                hdl(fd, &incame);
            } else
-               debug(5, 1) ("comm_poll_incoming: NULL write handler\n");
+               debug(5, 1) ("comm_poll_incoming: FD %d NULL write_handler\n",
+                   fd);
        }
     }
     return incame;
@@ -489,7 +491,8 @@ comm_check_incoming_select_handlers(int nfds, int *fds)
                commUpdateReadBits(fd, NULL);
                hdl(fd, &incame);
            } else {
-               debug(5, 1) ("comm_select_incoming: NULL read handler\n");
+               debug(5, 1) ("comm_select_incoming: FD %d NULL read handler\n",
+                   fd);
            }
        }
        if (FD_ISSET(fd, &write_mask)) {
@@ -498,7 +501,8 @@ comm_check_incoming_select_handlers(int nfds, int *fds)
                commUpdateWriteBits(fd, NULL);
                hdl(fd, &incame);
            } else {
-               debug(5, 1) ("comm_select_incoming: NULL write handler\n");
+               debug(5, 1) ("comm_select_incoming: FD %d NULL write handler\n",
+                   fd);
            }
        }
     }