Parcourir la source

Enable all logging if DEBUG is defined.

master
Richard Nyberg il y a 19 ans
Parent
révision
a8817eee1a
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. +5
    -1
      btpd/btpd.c

+ 5
- 1
btpd/btpd.c Voir le fichier

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



||||||
x
 
000:0
Chargement…
Annuler
Enregistrer