Mercurial > dovecot > core-2.2
changeset 9971:309ef3136fa0 HEAD
lib-index: Fixed v2.0 forwards compatibility support. Expunges were handled wrong.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 05 Oct 2009 18:31:08 -0400 |
parents | 4b28edba5ff9 |
children | 87c40d1d2b6c |
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 Mon Oct 05 18:20:51 2009 -0400 +++ b/src/lib-index/mail-index-view-sync.c Mon Oct 05 18:31:08 2009 -0400 @@ -219,13 +219,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; }