diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-04-24 17:41:28 +0000 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-24 17:41:28 +0000 |
commit | 14e90cf8cbe7ac7cef071928b509f535c4ccd26a (patch) | |
tree | 9d8c6302174fcd21c03b4de3321c6ac4effcbe98 | |
parent | 192c77bdafd5b4a1bc20aba6566f2e71d3b8241e (diff) | |
download | evolution-data-server-14e90cf8cbe7ac7cef071928b509f535c4ccd26a.tar.gz |
Disable debugging printfs.EVOLUTION_1_3_3
2003-04-22 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-utils.c: Disable debugging printfs.
-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 a8a4961d0..d7414ddaf 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 59977e2e6..65819475f 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; |