From 8a68c24b9190c37f6ae652b7d7049c22f952436f Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 16 Dec 2006 23:22:58 +0100 Subject: [PATCH] [BUILD] debug.h had a typo. Also add FSM_PRINTF to debug FSM only. --- include/common/debug.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/common/debug.h b/include/common/debug.h index f8bdbd3e3..1e529853f 100644 --- a/include/common/debug.h +++ b/include/common/debug.h @@ -25,9 +25,15 @@ #include #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 */