From 3fedf959eba2a060c87e557749e2760cc2c4e699 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Wed, 24 Sep 2008 22:32:26 +0000 Subject: [PATCH] STABLE14-rx-dpf-clarify-20080924 LICENSE IPL10 rework dpf macro slightly so there are no trailing ; issues --- src/rx/rx_globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/rx_globals.h b/src/rx/rx_globals.h index 7874adb84..4af9e17eb 100644 --- a/src/rx/rx_globals.h +++ b/src/rx/rx_globals.h @@ -521,7 +521,7 @@ EXT FILE *rxevent_debugFile; /* Set to an stdio descriptor for event logging to #ifdef DPF_FSLOG #define dpf(args) FSLog args #else -#define dpf(args) if (rx_debugFile) rxi_DebugPrint args; else +#define dpf(args) do { if (rx_debugFile) rxi_DebugPrint args; } while (0) #endif #endif #define rx_Log_event rxevent_debugFile -- 2.39.5