]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-rx-windows-dpf-20081003
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 3 Oct 2008 15:57:19 +0000 (15:57 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 3 Oct 2008 15:57:19 +0000 (15:57 +0000)
LICENSE MIT

dpf on windows is conditional on rxdebug_active, not rx_debugFile

(cherry picked from commit b8caeee989fcc096a1846c87b088263d3db130d9)

src/rx/rx_globals.h

index c9dd2b034ef8d81c8a3e4ba4d2a8fb19bed76ca3..322af632d49abe3d5ae535bd1acbae3899540053 100644 (file)
@@ -541,11 +541,7 @@ EXT FILE *rxevent_debugFile;       /* Set to an stdio descriptor for event logging to
 #define rx_Log rx_debugFile
 #ifdef AFS_NT40_ENV
 EXT int rxdebug_active;
-#if !defined(_WIN64)
-#define dpf(args) do { if (rx_debugFile) rxi_DebugPrint args; } while (0)
-#else
-#define dpf(args)
-#endif
+#define dpf(args) do { if (rxdebug_active) rxi_DebugPrint args; } while (0)
 #else
 #ifdef DPF_FSLOG
 #define dpf(args) FSLog args