[evolution-data-server] Fix a typo where instead of saving the cache, uid is saved.



commit a9a45e9a213cc5c99c3c0cdb7dc452d180b5306d
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Fri Feb 3 16:43:48 2012 +0530

    Fix a typo where instead of saving the cache, uid is saved.

 camel/camel-filter-driver.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c
index 83db370..f0bd9a8 100644
--- a/camel/camel-filter-driver.c
+++ b/camel/camel-filter-driver.c
@@ -1515,13 +1515,14 @@ camel_filter_driver_filter_folder (CamelFilterDriver *driver,
 				CAMEL_MESSAGE_DELETED |
 				CAMEL_MESSAGE_SEEN, ~0);
 
+		camel_uid_cache_save_uid (cache, uids->pdata[i]);
 		if (cache && i%10 == 0)
-			camel_uid_cache_save_uid (cache, uids->pdata[i]);
+			camel_uid_cache_save (cache);
 	}
 
 	/* Save the cache of any pending mails. */
 	if (cache)
-			camel_uid_cache_save_uid (cache, uids->pdata[i]);
+		camel_uid_cache_save (cache);
 
 	if (p->defaultfolder) {
 		report_status (driver, CAMEL_FILTER_STATUS_PROGRESS, 100, _("Syncing folder"));



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