evolution-data-server r9850 - branches/gnome-2-24/camel/providers/groupwise



Author: psankar
Date: Fri Dec 26 07:05:34 2008
New Revision: 9850
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9850&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:
   branches/gnome-2-24/camel/providers/groupwise/ChangeLog
   branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-folder.c

Modified: branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-folder.c
==============================================================================
--- branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-folder.c	(original)
+++ branches/gnome-2-24/camel/providers/groupwise/camel-groupwise-folder.c	Fri Dec 26 07:05:34 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]