summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-04-16 16:39:23 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-04-16 16:39:23 +0000
commit4a942bc59a515579251a3155d21c4925c1dfc6ea (patch)
treedee86f351d007d0ebaecceec72e98f5e5d59d4f8
parent6ff4192069b98cee26939d156f952f4ee6a851f2 (diff)
downloadtinyproxy-4a942bc59a515579251a3155d21c4925c1dfc6ea.tar.gz
tinyproxy-4a942bc59a515579251a3155d21c4925c1dfc6ea.zip
# The programmer is now made to _explicitly_ enable the GDB support in
the child handling function.
-rw-r--r--src/child.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/child.c b/src/child.c
index 9b383cb..424933b 100644
--- a/src/child.c
+++ b/src/child.c
@@ -1,4 +1,4 @@
-/* $Id: child.c,v 1.8 2003-03-13 19:30:19 rjkaes Exp $
+/* $Id: child.c,v 1.9 2003-04-16 16:39:23 rjkaes Exp $
*
* Handles the creation/destruction of the various children required for
* processing incoming connections.
@@ -179,7 +179,8 @@ child_main(struct child_s* ptr)
connfd = accept(listenfd, cliaddr, &clilen);
-#ifndef NDEBUG
+/* Enable this when you want to use GDB */
+#if 0
/* Pause for 10 seconds to allow us to connect debugger */
fprintf(stderr, "Process has accepted connection: %u\n", ptr->tid);
sleep(10);