From: Simon Wilkinson Date: Thu, 25 Sep 2008 21:19:33 +0000 (+0000) Subject: rx-dpf-clarify-20080924 X-Git-Tag: openafs-devel-1_5_61~792 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=3a5e912230fd09c72c1a27d7f7d4e4ac78f9323b rx-dpf-clarify-20080924 LICENSE IPL10 rework dpf macro slightly so there are no trailing ; issues ddddddddddddd AUTHOR LICENSE IPL10 --- diff --git a/src/rx/rx_globals.h b/src/rx/rx_globals.h index f931db3..64da66d 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