evolution-data-server r10216 - trunk/camel



Author: svillar
Date: Wed Apr 15 10:09:18 2009
New Revision: 10216
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=10216&view=rev

Log:
Fix for bug #578821


Modified:
   trunk/camel/camel-vee-folder.c

Modified: trunk/camel/camel-vee-folder.c
==============================================================================
--- trunk/camel/camel-vee-folder.c	(original)
+++ trunk/camel/camel-vee-folder.c	Wed Apr 15 10:09:18 2009
@@ -1803,15 +1803,16 @@
 			count--;
 
 			vinfo = vee_folder_add_uid(vf, sub, uid+8, hash);
-			if (vinfo)
+			if (vinfo) {
 				camel_folder_change_info_add_uid(vf->changes, camel_message_info_uid(vinfo));
 
-			/* check unmatched uid's table for any matches */
-			if (vf == folder_unmatched
-			    && g_hash_table_lookup_extended(unmatched_uids, uid, (void **)&oldkey, &oldval)) {
-				g_hash_table_remove(unmatched_uids, oldkey);
-				g_hash_table_insert(unmatched_uids, g_strdup(camel_message_info_uid(vinfo)), oldval);
-				g_free(oldkey);
+				/* check unmatched uid's table for any matches */
+				if (vf == folder_unmatched
+				    && g_hash_table_lookup_extended(unmatched_uids, uid, (void **)&oldkey, &oldval)) {
+					g_hash_table_remove(unmatched_uids, oldkey);
+					g_hash_table_insert(unmatched_uids, g_strdup(camel_message_info_uid(vinfo)), oldval);
+					g_free(oldkey);
+				}
 			}
 		}
 



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