Ver código fonte

Enable all logging if DEBUG is defined.

master
Richard Nyberg 19 anos atrás
pai
commit
a8817eee1a
1 arquivos alterados com 5 adições e 1 exclusões
  1. +5
    -1
      btpd/btpd.c

+ 5
- 1
btpd/btpd.c Ver arquivo

@@ -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);



Carregando…
Cancelar
Salvar