]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] debug.h had a typo. Also add FSM_PRINTF to debug FSM only.
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Dec 2006 22:22:58 +0000 (23:22 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Dec 2006 22:22:58 +0000 (23:22 +0100)
include/common/debug.h

index f8bdbd3e34d073bef5dac551e695bb52d8131774..1e529853f3179efda572aa91ba78f757303d0665 100644 (file)
 #include <common/config.h>
 
 #ifdef DEBUG_FULL
-#define DPRINTF(x...) fprintf(args)
+#define DPRINTF(x...) fprintf(x)
 #else
 #define DPRINTF(x...)
 #endif
 
+#ifdef DEBUG_FSM
+#define FSM_PRINTF(x...) fprintf(x)
+#else
+#define FSM_PRINTF(x...)
+#endif
+
 #endif /* _COMMON_DEBUG_H */