[BUILD] debug.h had a typo. Also add FSM_PRINTF to debug FSM only.

This commit is contained in:
Willy Tarreau 2006-12-16 23:22:58 +01:00
parent a4cd1f50cc
commit 8a68c24b91

View File

@ -25,9 +25,15 @@
#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 */