[evolution-data-server] Allow special CAMEL_DEBUG=pop3 to debug pop3 communication only



commit 6ce618ff07c2f81b4e7219efea8b4661e7bdbf78
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 10 09:44:37 2011 +0100

    Allow special CAMEL_DEBUG=pop3 to debug pop3 communication only

 camel/providers/pop3/camel-pop3-engine.c |    3 +--
 camel/providers/pop3/camel-pop3-stream.c |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/camel/providers/pop3/camel-pop3-engine.c b/camel/providers/pop3/camel-pop3-engine.c
index 2fe371c..b07f302 100644
--- a/camel/providers/pop3/camel-pop3-engine.c
+++ b/camel/providers/pop3/camel-pop3-engine.c
@@ -40,8 +40,7 @@
 extern CamelServiceAuthType camel_pop3_password_authtype;
 extern CamelServiceAuthType camel_pop3_apop_authtype;
 
-extern gint camel_verbose_debug;
-#define dd(x) (camel_verbose_debug?(x):0)
+#define dd(x) (camel_debug ("pop3")?(x):0)
 
 static void get_capabilities (CamelPOP3Engine *pe);
 
diff --git a/camel/providers/pop3/camel-pop3-stream.c b/camel/providers/pop3/camel-pop3-stream.c
index 76f8d91..7c803db 100644
--- a/camel/providers/pop3/camel-pop3-stream.c
+++ b/camel/providers/pop3/camel-pop3-stream.c
@@ -33,8 +33,7 @@
 
 #include "camel-pop3-stream.h"
 
-extern gint camel_verbose_debug;
-#define dd(x) (camel_verbose_debug?(x):0)
+#define dd(x) (camel_debug ("pop3")?(x):0)
 
 #define CAMEL_POP3_STREAM_SIZE (4096)
 #define CAMEL_POP3_STREAM_LINE (1024) /* maximum line size */



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