From 5c97c4724d8e616a875ac9de9ade2661797035b5 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Thu, 25 Sep 2008 21:19:57 +0000 Subject: [PATCH] DEVEL15-rx-dpf-clarify-20080924 LICENSE IPL10 rework dpf macro slightly so there are no trailing ; issues (cherry picked from commit 3a5e912230fd09c72c1a27d7f7d4e4ac78f9323b) --- 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 45c6cec97..c9dd2b034 100644 --- a/src/rx/rx_globals.h +++ b/src/rx/rx_globals.h @@ -542,7 +542,7 @@ EXT FILE *rxevent_debugFile; /* Set to an stdio descriptor for event logging to #ifdef AFS_NT40_ENV EXT int rxdebug_active; #if !defined(_WIN64) -#define dpf(args) if (rxdebug_active) rxi_DebugPrint args; +#define dpf(args) do { if (rx_debugFile) rxi_DebugPrint args; } while (0) #else #define dpf(args) #endif -- 2.39.5