diff --git a/src/common.h b/src/common.h index c840536..83166f1 100644 --- a/src/common.h +++ b/src/common.h @@ -100,7 +100,6 @@ typedef unsigned long ulong; #define DEBUG_MAIN 0x20 #define DEBUG_DRV 0x40 #define DEBUG_DRV_ALL 0x80 -#define DEBUG_ALL (0xFF & ~(DEBUG_NET_ALL | DEBUG_DRV_ALL)) #define QUIET 0x100 #define VERYQUIET 0x200 #define PROGRESS 0x400 @@ -109,6 +108,9 @@ typedef unsigned long ulong; #define ZERODELAY 0x2000 #define FORCEASYNC 0x4000 +#define DEBUG_ANY (DEBUG_MAILDIR | DEBUG_NET | DEBUG_SYNC | DEBUG_MAIN | DEBUG_DRV) +#define DEBUG_ALL (DEBUG_ANY | DEBUG_CRASH) + extern int DFlags; extern int JLimit; extern int UseFSync; diff --git a/src/main.c b/src/main.c index 60623ec..f2a755f 100644 --- a/src/main.c +++ b/src/main.c @@ -741,7 +741,7 @@ main( int argc, char **argv ) if (ms_warn) warn( "Notice: -master/-slave/m/s suffixes are deprecated; use -far/-near/f/n instead.\n" ); - if (!(DFlags & (QUIET | DEBUG_ALL)) && isatty( 1 )) + if (!(DFlags & (QUIET | DEBUG_ANY)) && isatty( 1 )) DFlags |= PROGRESS; #ifdef __linux__