(debug): Move to log.c, so other programs don't have to define debug
themselves just to use logerror().
This commit is contained in:
parent
259bbe604d
commit
980c3ca8c6
2 changed files with 3 additions and 2 deletions
|
@ -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];
|
||||
|
||||
/*
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue