[evolution-data-server] Enable imapx debugging if CAMEL_DEBUG=all



commit a3d5ec6f8437ec105128287c3692bac7611402e2
Author: David Woodhouse <David Woodhouse intel com>
Date:   Wed Sep 1 10:47:02 2010 +0100

    Enable imapx debugging if CAMEL_DEBUG=all

 camel/providers/imapx/camel-imapx-utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-utils.c b/camel/providers/imapx/camel-imapx-utils.c
index c77d7fb..9b01b64 100644
--- a/camel/providers/imapx/camel-imapx-utils.c
+++ b/camel/providers/imapx/camel-imapx-utils.c
@@ -16,6 +16,7 @@
 #define d(x) camel_imapx_debug(debug, x)
 
 gint camel_imapx_debug_flags;
+extern gint camel_verbose_debug;
 
 #define debug_set_flag(flag) do { \
 	if ((CAMEL_IMAPX_DEBUG_ALL & CAMEL_IMAPX_DEBUG_ ## flag) &&	\
@@ -25,7 +26,7 @@ gint camel_imapx_debug_flags;
 
 static void camel_imapx_set_debug_flags(void)
 {
-	if (camel_debug("imapx")) {
+	if (camel_verbose_debug || camel_debug("imapx")) {
 		camel_imapx_debug_flags = CAMEL_IMAPX_DEBUG_ALL;
 		return;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]