(child_main): Added a DEBUG call to let me know which process has accepted a connection. This is needed for debugging using "gdb".

This commit is contained in:
Robert James Kaes 2002-06-05 17:02:15 +00:00
parent 89dee022e5
commit e440dee245

View File

@ -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...
*/