evolution-data-server r9849 - trunk/camel/providers/groupwise



Author: psankar
Date: Fri Dec 26 07:04:35 2008
New Revision: 9849
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9849&view=rev

Log:
2008-12-26  Sankar P  <psankar novell com>

	** Fix for bnc bug #209514

	* camel/providers/groupwise/camel-groupwise-folder.c:
	Addresses some missing mails issues. Optimization fixed.

Modified:
   trunk/camel/providers/groupwise/ChangeLog
   trunk/camel/providers/groupwise/camel-groupwise-folder.c

Modified: trunk/camel/providers/groupwise/camel-groupwise-folder.c
==============================================================================
--- trunk/camel/providers/groupwise/camel-groupwise-folder.c	(original)
+++ trunk/camel/providers/groupwise/camel-groupwise-folder.c	Fri Dec 26 07:04:35 2008
@@ -925,7 +925,13 @@
 	done = FALSE;
 	m->slist = NULL;
 
-	while (!done && !camel_application_is_exiting) {
+	while (!done) {
+
+		if (camel_application_is_exiting) {
+				CAMEL_SERVICE_REC_UNLOCK (gw_store, connect_lock);
+				return ;
+		}
+
 		item_list = NULL;
 		status = e_gw_connection_get_all_mail_uids (m->cnc, m->container_id, cursor, FALSE, READ_CURSOR_MAX_IDS, position, &item_list);
 		if (status != E_GW_CONNECTION_STATUS_OK) {



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