aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-11 01:13:15 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-11 01:13:15 +0800
commit9a3c8bf1528c87d9701e6f72202dd0822674cc95 (patch)
tree3cffe89ee8128ac13b3e86c813ffe7bdf992b58e /camel
parent8e56e45ae6f27f23fc8c654db18e54f71e85bfc4 (diff)
downloadgsoc2013-evolution-9a3c8bf1528c87d9701e6f72202dd0822674cc95.tar
gsoc2013-evolution-9a3c8bf1528c87d9701e6f72202dd0822674cc95.tar.gz
gsoc2013-evolution-9a3c8bf1528c87d9701e6f72202dd0822674cc95.tar.bz2
gsoc2013-evolution-9a3c8bf1528c87d9701e6f72202dd0822674cc95.tar.lz
gsoc2013-evolution-9a3c8bf1528c87d9701e6f72202dd0822674cc95.tar.xz
gsoc2013-evolution-9a3c8bf1528c87d9701e6f72202dd0822674cc95.tar.zst
gsoc2013-evolution-9a3c8bf1528c87d9701e6f72202dd0822674cc95.zip
Turn off debugging if CAMEL_VERBOSE_DEBUG isn't set.
2003-04-10 Jeffrey Stedfast <fejj@ximian.com> * providers/smtp/camel-smtp-transport.c: Turn off debugging if CAMEL_VERBOSE_DEBUG isn't set. svn path=/trunk/; revision=20803
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 528d7aa03c..ffda1e546e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-10 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/smtp/camel-smtp-transport.c: Turn off debugging if
+ CAMEL_VERBOSE_DEBUG isn't set.
+
2003-04-10 Not Zed <NotZed@Ximian.com>
* tests/mime-filter/data: filter data test cases.
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index 9aaf4ded96..5cdf33a5ce 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -57,7 +57,9 @@
#include "camel-sasl.h"
#include "string-utils.h"
-#define d(x) x
+
+extern int camel_verbose_debug;
+#define d(x) (camel_verbose_debug ? (x) : 0)
/* Specified in RFC 821 */
#define SMTP_PORT 25