diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-04-25 01:41:28 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-25 01:41:28 +0800 |
commit | 22b6bc562ca16e9b238381006d7c1977f020015c (patch) | |
tree | e1509cb7e7fb13b545939cb55843a220268c9097 | |
parent | 1a3b2e594c3a2feadc3dd42394deffc96ed27c39 (diff) | |
download | gsoc2013-evolution-22b6bc562ca16e9b238381006d7c1977f020015c.tar.gz 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
-rw-r--r-- | camel/ChangeLog | 2 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index a8a4961d01..d7414ddaf2 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,7 @@ 2003-04-22 Jeffrey Stedfast <fejj@ximian.com> + * providers/imap/camel-imap-utils.c: Disable debugging printfs. + * providers/imap/camel-imap-store.c (imap_connect_online): #if 0 out some code that parsed the namespaces since the results aren't used and they generate debugging output. 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; |