From 2797f8380a700eee870fbd3a5fb08a2cb4ea1deb Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 18 Jul 2009 03:46:21 -0400 Subject: [PATCH] Correct ifdefs in rx.c for rx packet debugging Reported by Marc Dionne Fix two sets of ifdefs in rx.c required for RXPACKET_DEBUG. LICENSE BSD Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/152 Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/rx/rx.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rx/rx.c b/src/rx/rx.c index c49a0a21b..f91c6cfbf 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -2165,13 +2165,13 @@ rxi_FindService(osi_socket socket, u_short serviceId) return 0; } -#ifdef DEBUG +#ifdef RXDEBUG_PACKET #ifdef KDUMP_RX_LOCK static struct rx_call_rx_lock *rx_allCallsp = 0; #else static struct rx_call *rx_allCallsp = 0; #endif -#endif /* DEBUG */ +#endif /* RXDEBUG_PACKET */ /* Allocate a call structure, for the indicated channel of the * supplied connection. The mode and state of the call must be set by @@ -8084,7 +8084,6 @@ DllMain(HINSTANCE dllInstHandle, /* instance handle for this DLL module */ } } -#ifdef AFS_NT40_ENV int rx_DumpCalls(FILE *outputFile, char *cookie) { #ifdef RXDEBUG_PACKET @@ -8144,5 +8143,4 @@ int rx_DumpCalls(FILE *outputFile, char *cookie) return 0; } #endif /* AFS_NT40_ENV */ -#endif -- 2.39.5