[evolution-mapi] Bug 623919 - Error while opening any newly received message



commit eb65be210fe78ed15f3f86f55459cf2b8325b1d1
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Jul 9 06:41:22 2010 -0400

    Bug 623919 - Error while opening any newly received message

 src/camel/camel-mapi-folder.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 4186991..a231235 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -112,7 +112,7 @@ update_store_summary (CamelFolder *folder, GError **error)
 	CamelStoreSummary *store_summary;
 	CamelStoreInfo *si;
 	const gchar *full_name;
-	gboolean success;
+	gint retval;
 
 	full_name = camel_folder_get_full_name (folder);
 	parent_store = camel_folder_get_parent_store (folder);
@@ -134,10 +134,10 @@ update_store_summary (CamelFolder *folder, GError **error)
 		camel_store_summary_info_free (store_summary, si);
 	}
 
-	success = camel_folder_summary_save_to_db (folder->summary, error);
+	retval = camel_folder_summary_save_to_db (folder->summary, error);
 	camel_store_summary_save (store_summary);
 
-	return success;
+	return (retval == 0);
 }
 
 static gboolean



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