From: Simon Wilkinson Date: Wed, 24 Sep 2008 22:32:26 +0000 (+0000) Subject: STABLE14-rx-dpf-clarify-20080924 X-Git-Tag: openafs-stable-1_4_8pre1~7 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3fedf959eba2a060c87e557749e2760cc2c4e699;p=packages%2Fo%2Fopenafs.git STABLE14-rx-dpf-clarify-20080924 LICENSE IPL10 rework dpf macro slightly so there are no trailing ; issues --- 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