From: David Woodhouse Date: Wed, 1 Sep 2010 09:47:02 +0000 (+0100) Subject: Enable imapx debugging if CAMEL_DEBUG=all X-Git-Tag: upstream/3.7.4~2681 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3d5ec6f8437ec105128287c3692bac7611402e2;p=platform%2Fupstream%2Fevolution-data-server.git Enable imapx debugging if CAMEL_DEBUG=all --- 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; }