]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
rx-windows-debugging-20090127
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 27 Jan 2009 17:49:05 +0000 (17:49 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 27 Jan 2009 17:49:05 +0000 (17:49 +0000)
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().

src/rx/rx.c

index 73caae9f70d4f3143e32dbe1d4683d9a9c712777..3f80a3795f034dd1c2e4f9f05594d219791851cb 100644 (file)
@@ -6387,7 +6387,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;
@@ -6404,7 +6404,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 */