evolution-data-server r9397 - trunk/camel



Author: sragavan
Date: Tue Aug 19 15:22:27 2008
New Revision: 9397
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9397&view=rev

Log:
2008-08-19  Srinivasa Ragavan  <sragavan novell com>

	* camel/camel-folder-summary.c: Make things more debuggable.


Modified:
   trunk/camel/ChangeLog
   trunk/camel/camel-folder-summary.c

Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c	(original)
+++ trunk/camel/camel-folder-summary.c	Tue Aug 19 15:22:27 2008
@@ -77,6 +77,7 @@
 /* this should probably be conditional on it existing */
 #define USE_BSEARCH
 
+#define dd(x)
 #define d(x)
 #define io(x)			/* io debug */
 #define w(x)
@@ -1728,7 +1729,8 @@
 
 	if (flags & CAMEL_MESSAGE_JUNK)
 		junk = 1;
-	
+
+	dd(printf("%p: %d %d %d | %d %d %d \n", summary, unread, deleted, junk, summary->unread_count, summary->visible_count, summary->saved_count));
 	info->flags |= CAMEL_MESSAGE_FOLDER_FLAGGED;
 	info->dirty = TRUE;
 
@@ -1749,6 +1751,9 @@
 		summary->saved_count++;
 		camel_folder_summary_touch(summary);
 	}
+
+	dd(printf("%p: %d %d %d | %d %d %d\n", summary, unread, deleted, junk, summary->unread_count, summary->visible_count, summary->saved_count));
+
 }
 
 /**



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