(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:
parent
89dee022e5
commit
e440dee245
@ -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...
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user