diff --git a/source/bforce/conf_read.c b/source/bforce/conf_read.c index 0117af6..0543abb 100644 --- a/source/bforce/conf_read.c +++ b/source/bforce/conf_read.c @@ -417,7 +417,6 @@ int conf_readconf(const char *confname, int inclevel, bool earlydbg) } #ifdef DEBUG debug_configure(); - #endif } diff --git a/source/include/logger.h b/source/include/logger.h index 616078b..0dfb479 100644 --- a/source/include/logger.h +++ b/source/include/logger.h @@ -33,28 +33,28 @@ enum { LOG_FILE_DAEMON, LOG_FILE_SESSION, LOG_FILE_DEBUG, LOG_FILE_HISTORY }; #ifdef DEBUG -#define D_CONFIG 0x0000001L -#define D_OVERRIDE 0x0000002L -#define D_EVENT 0x0000004L -#define D_NODELIST 0x0000008L -#define D_OUTBOUND 0x0000010L -#define D_INFO 0x0000020L -#define D_HSHAKE 0x0000040L -#define D_TTYIO 0x0000080L -#define D_MODEM 0x0000100L -#define D_PROT 0x0000200L -#define D_FREQ 0x0000400L -#define D_STATEM 0x0000800L -#define D_DAEMON 0x0001000L -#define D_24554 0x0002000L -#define D_FREE 0x0004000L -#define D_FULL 0xfffffffL + #define D_CONFIG 0x0000001L + #define D_OVERRIDE 0x0000002L + #define D_EVENT 0x0000004L + #define D_NODELIST 0x0000008L + #define D_OUTBOUND 0x0000010L + #define D_INFO 0x0000020L + #define D_HSHAKE 0x0000040L + #define D_TTYIO 0x0000080L + #define D_MODEM 0x0000100L + #define D_PROT 0x0000200L + #define D_FREQ 0x0000400L + #define D_STATEM 0x0000800L + #define D_DAEMON 0x0001000L + #define D_24554 0x0002000L + #define D_FREE 0x0004000L + #define D_FULL 0xfffffffL #endif #ifdef DEBUG -# define DEB(what) debug what + #define DEB(what) debug what #else -# define DEB(what) + #define DEB(what) #endif const char *log_getfilename(int whatfor);