summaryrefslogtreecommitdiff
path: root/server/main.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-02-05 10:40:23 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-02-05 10:40:23 +0000
commitd4b33a756bab83f5490878806f47c65a1c2d9651 (patch)
treef38da63e6c180ae05c7b00369dcee1392d244a0d /server/main.c
parent402cbf105f57375c8a598d5a323e8d23067a2e14 (diff)
#ifdef's around dbug_on,off and detach() were in wrong place.
Diffstat (limited to 'server/main.c')
-rw-r--r--server/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main.c b/server/main.c
index 51f0974..bb03bb8 100644
--- a/server/main.c
+++ b/server/main.c
@@ -393,7 +393,6 @@ int sig;
/*NOTREACHED*/
}
-#ifdef DEBUG
static void
dbug_on()
{
@@ -407,8 +406,8 @@ dbug_off()
syslog(LOG_DEBUG, "debugging turned off");
zdebug = 0;
}
-#endif
+#ifndef DEBUG
/*
* detach from the terminal
*/
@@ -433,3 +432,4 @@ detach()
(void) close(i);
}
+#endif !DEBUG