evolution-data-server r9399 - trunk/camel/providers/local



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

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

	* camel/providers/local/camel-mbox-summary.c: Put back the summary
	mismatch. It is more serious now.


Modified:
   trunk/camel/providers/local/ChangeLog
   trunk/camel/providers/local/camel-mbox-summary.c

Modified: trunk/camel/providers/local/camel-mbox-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-mbox-summary.c	(original)
+++ trunk/camel/providers/local/camel-mbox-summary.c	Tue Aug 19 15:23:22 2008
@@ -847,15 +847,13 @@
 			goto error;			
 		}
 
-		/* Somehow this isn't required */
-		/*
 		if (camel_mime_parser_tell_start_from(mp) != info->frompos) {
 			g_warning("Didn't get the next message where I expected (%d) got %d instead",
 				  (int)info->frompos, (int)camel_mime_parser_tell_start_from(mp));
 			camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM,
 					     _("Summary and folder mismatch, even after a sync"));
 			goto error;
-		} */
+		} 
 
 		if (camel_mime_parser_step(mp, NULL, NULL) == CAMEL_MIME_PARSER_STATE_FROM_END) {
 			g_warning("camel_mime_parser_step failed (2)");
@@ -1066,14 +1064,13 @@
 			goto error;
 		}
 
-		/* Somehow this isn't required */
-		/*if (camel_mime_parser_tell_start_from(mp) != info->frompos) {
+		if (camel_mime_parser_tell_start_from(mp) != info->frompos) {
 			g_warning("Didn't get the next message where I expected (%d) got %d instead",
 				  (int)info->frompos, (int)camel_mime_parser_tell_start_from(mp));
 			camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM,
 					     _("Summary and folder mismatch, even after a sync"));
 			goto error;
-		}*/
+		}
 
 		lastdel = FALSE;
 		if ((flags&1) && info->info.info.flags & CAMEL_MESSAGE_DELETED) {



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