diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-06-05 17:02:15 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-06-05 17:02:15 +0000 |
commit | e440dee245d0b7f890ccf0bbf1467d33055f4c1a (patch) | |
tree | 323c362b7261a6e02b5d413f4cfabcd261c25043 /src | |
parent | 89dee022e5fd741e816a50cedfbd8058ebfb5431 (diff) | |
download | tinyproxy-e440dee245d0b7f890ccf0bbf1467d33055f4c1a.tar.gz tinyproxy-e440dee245d0b7f890ccf0bbf1467d33055f4c1a.zip |
(child_main): Added a DEBUG call to let me know which process has accepted a connection. This is needed for debugging using "gdb".
Diffstat (limited to '')
-rw-r--r-- | src/child.c | 4 |
1 files changed, 3 insertions, 1 deletions
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... */ |