Displaying 1 result from an estimated 1 matches for "logmode_t".
Did you mean:
logmode
2010 Sep 20
0
No subject
...ow contents of every request that is =
sent/received */
+ DEBUG_TRAFFIC =3D 16, /* Show network traffic information */
+ DEBUG_PACKET =3D 32, /* Show contents of each packet that is being =
sent/received */
+ DEBUG_SCARY_THINGS =3D 64 - 1 /* You have been warned */
} debug_t;
=20
typedef enum logmode_t {
@@ -50,6 +50,6 @@
extern void logger(int, const char *, ...) __attribute__ =
((__format__(printf, 2, 3)));
extern void closelogger(void);
=20
-#define ifdebug(l) if(debug_level >=3D DEBUG_##l)
+#define ifdebug(l) if(debug_level & DEBUG_##l)
=20
#endif /* __TINC_LOGGER_H__ */
------=_Ne...