From a3d5ec6f8437ec105128287c3692bac7611402e2 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 1 Sep 2010 10:47:02 +0100 Subject: [PATCH] Enable imapx debugging if CAMEL_DEBUG=all --- camel/providers/imapx/camel-imapx-utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.7.4