From: Willy Tarreau Date: Sat, 16 Dec 2006 22:22:58 +0000 (+0100) Subject: [BUILD] debug.h had a typo. Also add FSM_PRINTF to debug FSM only. X-Git-Tag: v1.3.4~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a68c24b9190c37f6ae652b7d7049c22f952436f;p=thirdparty%2Fhaproxy.git [BUILD] debug.h had a typo. Also add FSM_PRINTF to debug FSM only. --- diff --git a/include/common/debug.h b/include/common/debug.h index f8bdbd3e34..1e529853f3 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 */