Explorar el Código

Enable all logging if DEBUG is defined.

master
Richard Nyberg hace 19 años
padre
commit
a8817eee1a
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      btpd/btpd.c

+ 5
- 1
btpd/btpd.c Ver fichero

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



Cargando…
Cancelar
Guardar