From e440dee245d0b7f890ccf0bbf1467d33055f4c1a Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Wed, 5 Jun 2002 17:02:15 +0000 Subject: (child_main): Added a DEBUG call to let me know which process has accepted a connection. This is needed for debugging using "gdb". --- src/child.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/child.c b/src/child.c index 9b5bf33..36cab71 100644 --- a/src/child.c +++ b/src/child.c @@ -1,4 +1,4 @@ -/* $Id: child.c,v 1.2 2002-05-29 20:49:55 rjkaes Exp $ +/* $Id: child.c,v 1.3 2002-06-05 17:02:15 rjkaes Exp $ * * Handles the creation/destruction of the various children required for * processing incoming connections. @@ -174,6 +174,8 @@ child_main(struct child_s* ptr) connfd = accept(listenfd, cliaddr, &clilen); + DEBUG2("Process %u has accepted connection", ptr->tid); + /* * Make sure no error occurred... */ -- cgit v1.2.3