git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
433afd4
)
rx-dpf-clarify-20080924
author
Simon Wilkinson
<sxw@inf.ed.ac.uk>
Wed, 24 Sep 2008 22:31:54 +0000 (22:31 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Wed, 24 Sep 2008 22:31:54 +0000 (22:31 +0000)
LICENSE IPL10
rework dpf macro slightly so there are no trailing ; issues
src/rx/rx_globals.h
patch
|
blob
|
history
diff --git
a/src/rx/rx_globals.h
b/src/rx/rx_globals.h
index
2229e25
..
53fd058
100644
(file)
--- a/
src/rx/rx_globals.h
+++ b/
src/rx/rx_globals.h
@@
-538,7
+538,7
@@
EXT int rxdebug_active;
#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