rx: Indent dpf definition

Indent the CPP macros that define dpf() so that it's a little bit
clearer what's going on.

Change-Id: If2ccd637ac063c8400a16725972418224e9c5140
Reviewed-on: http://gerrit.openafs.org/2955
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Simon Wilkinson 2010-10-11 13:40:41 -04:00 committed by Jeffrey Altman
parent 63592f0bfd
commit d8434eefa7

View File

@ -561,21 +561,21 @@ EXT FILE *rxevent_debugFile; /* Set to an stdio descriptor for event logging to
#endif
#ifdef RXDEBUG
#define rx_Log rx_debugFile
#ifdef AFS_NT40_ENV
# define rx_Log rx_debugFile
# ifdef AFS_NT40_ENV
EXT int rxdebug_active;
#define dpf(args) do { if (rxdebug_active) rxi_DebugPrint args; } while (0)
# define dpf(args) do { if (rxdebug_active) rxi_DebugPrint args; } while (0)
# else
# ifdef DPF_FSLOG
# include <afs/afsutil.h>
# define dpf(args) FSLog args
# else
# define dpf(args) do { if (rx_debugFile) rxi_DebugPrint args; } while (0)
# endif
# endif
# define rx_Log_event rxevent_debugFile
#else
#ifdef DPF_FSLOG
#include <afs/afsutil.h>
#define dpf(args) FSLog args
#else
#define dpf(args) do { if (rx_debugFile) rxi_DebugPrint args; } while (0)
#endif
#endif
#define rx_Log_event rxevent_debugFile
#else
#define dpf(args)
# define dpf(args)
#endif /* RXDEBUG */
EXT char *rx_packetTypes[RX_N_PACKET_TYPES] GLOBALSINIT(RX_PACKET_TYPES); /* Strings defined in rx.h */