From: Jeffrey Altman Date: Tue, 27 Jan 2009 17:49:15 +0000 (+0000) Subject: DEVEL15-rx-windows-debugging-20090127 X-Git-Tag: openafs-devel-1_5_58~171 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0c2d43b5f61f58fca2f84591fda27fbc95783539;p=packages%2Fo%2Fopenafs.git DEVEL15-rx-windows-debugging-20090127 LICENSE MIT separate rx debugging from cache manager debugging. assign bit 5 of the TraceOption registry value to activation of rx debug output via DebugOutputString(). (cherry picked from commit 50d57f6c7b325cb9576f33845cac60e1523f661e) --- diff --git a/src/rx/rx.c b/src/rx/rx.c index 9481ab231..b3c03fdd4 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -6360,7 +6360,7 @@ rxi_DebugInit(void) { #ifdef RXDEBUG #ifdef AFS_NT40_ENV -#define TRACE_OPTION_DEBUGLOG 4 +#define TRACE_OPTION_RX_DEBUG 16 HKEY parmKey; DWORD dummyLen; DWORD TraceOption; @@ -6377,7 +6377,7 @@ rxi_DebugInit(void) code = RegQueryValueEx(parmKey, "TraceOption", NULL, NULL, (BYTE *) &TraceOption, &dummyLen); if (code == ERROR_SUCCESS) { - rxdebug_active = (TraceOption & TRACE_OPTION_DEBUGLOG) ? 1 : 0; + rxdebug_active = (TraceOption & TRACE_OPTION_RX_DEBUG) ? 1 : 0; } RegCloseKey (parmKey); #endif /* AFS_NT40_ENV */