summaryrefslogtreecommitdiff
path: root/server/main.c
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-01-21 19:50:52 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-01-21 19:50:52 +0000
commit46e67be60bc909b2932d3ef3e191ca8d263d1e2e (patch)
treec2edf95f9293c38d994b4cfada0f052007070e91 /server/main.c
parent76e39391f4f5277f65e87a93e70fdf1fa6035051 (diff)
collapse state of a bunch of #if 0 and #if 1 debugging output
Diffstat (limited to 'server/main.c')
-rw-r--r--server/main.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/server/main.c b/server/main.c
index d39536e..4d68f9d 100644
--- a/server/main.c
+++ b/server/main.c
@@ -244,10 +244,8 @@ main(int argc,
if (zalone)
syslog(LOG_DEBUG, "standalone operation");
#endif
-#if 0
if (zdebug)
syslog(LOG_DEBUG, "debugging on");
-#endif
/* set up sockets & my_addr and myname,
find other servers and set up server table, initialize queues
@@ -656,9 +654,7 @@ dump_db(void)
static RETSIGTYPE
reset(int sig)
{
-#if 1
zdbug((LOG_DEBUG,"reset()"));
-#endif
doreset = 1;
}
@@ -673,9 +669,8 @@ reap(int sig)
#else
union wait waitb;
#endif
-#if 1
+
zdbug((LOG_DEBUG,"reap()"));
-#endif
#ifdef _POSIX_VERSION
while ((pid = waitpid(-1, &waitb, WNOHANG)) == 0)
{ i++; if (i > 10) break; }
@@ -713,9 +708,6 @@ do_reset(void)
#else
int omask;
#endif
-#if 0
- zdbug((LOG_DEBUG,"do_reset()"));
-#endif
#ifdef _POSIX_VERSION
sigemptyset(&mask);
sigaddset(&mask, SIGHUP);