changeset 9341:ff4c1e9f47a4 HEAD

lib-index: Fixed v2.0 forwards compatibility support. Expunges were handled wrong.
author Timo Sirainen <tss@iki.fi>
date Fri, 28 Aug 2009 11:18:26 -0400
parents cc4af8e31175
children aeb3affa0501
files src/lib-index/mail-index-view-sync.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-view-sync.c	Fri Aug 28 11:04:53 2009 -0400
+++ b/src/lib-index/mail-index-view-sync.c	Fri Aug 28 11:18:26 2009 -0400
@@ -218,13 +218,13 @@
 		}
 		if ((hdr->type & MAIL_TRANSACTION_EXPUNGE_GUID) != 0) {
 			/* we have an expunge. see if it still exists. */
-			if (have_existing_expunges(view, data, hdr->size)) {
+			if (have_existing_guid_expunge(view, data, hdr->size)) {
 				have_expunges = TRUE;
 				break;
 			}
 		} else if ((hdr->type & MAIL_TRANSACTION_EXPUNGE) != 0) {
 			/* we have an expunge. see if it still exists. */
-			if (have_existing_guid_expunge(view, data, hdr->size)) {
+			if (have_existing_expunges(view, data, hdr->size)) {
 				have_expunges = TRUE;
 				break;
 			}