evolution-data-server/bgo-531009-right-iterator-to-prevent-crash-in-offline-mail.diff

16 lines
696 B
Diff

Index: camel/providers/groupwise/camel-groupwise-folder.c
===================================================================
--- camel/providers/groupwise/camel-groupwise-folder.c 2008/05/19 11:11:53 8810
+++ camel/providers/groupwise/camel-groupwise-folder.c 2008/05/19 11:14:19 8811
@@ -2163,8 +2163,8 @@
_("This message is not available in offline mode."));
} else {
- camel_folder_summary_remove_uid (source->summary, uids->pdata[index]);
- camel_folder_change_info_remove_uid (changes, uids->pdata[index]);
+ camel_folder_summary_remove_uid (source->summary, uids->pdata[i]);
+ camel_folder_change_info_remove_uid (changes, uids->pdata[i]);
}
}
}