summaryrefslogtreecommitdiffstats
path: root/babeld/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'babeld/util.h')
-rw-r--r--babeld/util.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/babeld/util.h b/babeld/util.h
index 5e5843543..8535d4dd6 100644
--- a/babeld/util.h
+++ b/babeld/util.h
@@ -122,10 +122,11 @@ extern const unsigned char v4prefix[16];
#define BABEL_DEBUG_ROUTE (1 << 5)
#define BABEL_DEBUG_ALL (0xFFFF)
-#define debugf(level, ...) \
-do { \
-if(UNLIKELY(debug & level)) zlog_debug(__VA_ARGS__); \
-} while(0)
+#define debugf(level, ...) \
+ do { \
+ if (unlikely(debug & level)) \
+ zlog_debug(__VA_ARGS__); \
+ } while (0)
#endif /* NO_DEBUG */