aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-25 01:41:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-25 01:41:28 +0800
commit22b6bc562ca16e9b238381006d7c1977f020015c (patch)
treee1509cb7e7fb13b545939cb55843a220268c9097 /camel/providers
parent1a3b2e594c3a2feadc3dd42394deffc96ed27c39 (diff)
downloadgsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.tar
gsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.tar.gz
gsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.tar.bz2
gsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.tar.lz
gsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.tar.xz
gsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.tar.zst
gsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.zip
Disable debugging printfs.
2003-04-22 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c: Disable debugging printfs. svn path=/trunk/; revision=20957
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-utils.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c
index 59977e2e69..65819475fb 100644
--- a/camel/providers/imap/camel-imap-utils.c
+++ b/camel/providers/imap/camel-imap-utils.c
@@ -38,7 +38,7 @@
#include "string-utils.h"
#include "camel-utf8.h"
-#define d(x) x
+#define d(x)
const char *
imap_next_word (const char *buf)
@@ -191,6 +191,7 @@ imap_namespace_decode (const char **in, struct _namespace **namespace)
return FALSE;
}
+#if d(!)0
static void
namespace_dump (struct _namespace *namespace)
{
@@ -228,6 +229,7 @@ namespaces_dump (struct _namespaces *namespaces)
namespace_dump (namespaces->shared);
printf ("\n");
}
+#endif
struct _namespaces *
imap_parse_namespace_response (const char *response)
@@ -235,7 +237,7 @@ imap_parse_namespace_response (const char *response)
struct _namespaces *namespaces;
const char *inptr;
- printf ("parsing: %s\n", response);
+ d(printf ("parsing: %s\n", response));
if (*response != '*')
return NULL;
@@ -272,7 +274,7 @@ imap_parse_namespace_response (const char *response)
if (!imap_namespace_decode (&inptr, &namespaces->shared))
goto exception;
- namespaces_dump (namespaces);
+ d(namespaces_dump (namespaces));
return namespaces;