Browse Source

Enable all logging if DEBUG is defined.

master
Richard Nyberg 19 years ago
parent
commit
a8817eee1a
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      btpd/btpd.c

+ 5
- 1
btpd/btpd.c View File

@@ -109,7 +109,11 @@ btpd_init(void)

btpd.version = BTPD_VERSION;

btpd.logmask = BTPD_L_BTPD | BTPD_L_ERROR;
#ifdef DEBUG
btpd.logmask = BTPD_L_ALL;
#else
btpd.logmask = BTPD_L_BTPD | BTPD_L_ERROR;
#endif

BTPDQ_INIT(&btpd.kids);



Loading…
Cancel
Save