[evolution-patches] more debug printf suppression



-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
? ChangeLog.nonximian
? body
? body.c
? body.txt
? camel-mime-filter-windows.c
? camel-mime-filter-windows.h
? charset-map.c
? charset-map.diff
? cmsutil.c
? date.patch
? debug.patch
? evolution-1.3-gpg.patch
? folder-info-build.patch
? foo
? gpg-verify.patch
? gpg.patch
? html-filter-broken.msg
? imap
? invalid-content-id.patch
? iso
? iso.c
? pop3-uidl.patch
? smime
? win-charset.patch
? tests/mime-filter/test-tohtml
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.1803
diff -u -r1.1803 ChangeLog
--- ChangeLog	23 Apr 2003 18:16:23 -0000	1.1803
+++ ChangeLog	23 Apr 2003 19:33:06 -0000
@@ -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.
Index: providers/imap/camel-imap-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/providers/imap/camel-imap-utils.c,v
retrieving revision 1.62
diff -u -r1.62 camel-imap-utils.c
--- providers/imap/camel-imap-utils.c	9 Apr 2003 21:02:34 -0000	1.62
+++ providers/imap/camel-imap-utils.c	23 Apr 2003 19:33:07 -0000
@@ -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 @@
 	return FALSE;
 }
 
+#if d(!)0
 static void
 namespace_dump (struct _namespace *namespace)
 {
@@ -228,6 +229,7 @@
 	namespace_dump (namespaces->shared);
 	printf ("\n");
 }
+#endif
 
 struct _namespaces *
 imap_parse_namespace_response (const char *response)
@@ -235,7 +237,7 @@
 	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 @@
 	if (!imap_namespace_decode (&inptr, &namespaces->shared))
 		goto exception;
 	
-	namespaces_dump (namespaces);
+	d(namespaces_dump (namespaces));
 	
 	return namespaces;
 	


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