diff --git a/src/lib/common/log.c b/src/lib/common/log.c index ae2391a6..793e17e1 100644 --- a/src/lib/common/log.c +++ b/src/lib/common/log.c @@ -45,6 +45,9 @@ #include "common.h" #include "optlist.h" +/* Debugging? If yes call abort() on internal error. */ +int debug = 0; + static char logfile[32]; /* diff --git a/src/server/main.c b/src/server/main.c index 804bff6d..e9ab723b 100644 --- a/src/server/main.c +++ b/src/server/main.c @@ -80,8 +80,6 @@ static void loc_NTTerm(void); static char pidfname[] = "server.pid"; -/* Debugging? If yes call abort() on internal error. */ -int debug = 0; /* Run as daemon? If yes, detach from controlling terminal etc. */ int daemonize = 1;