dovecot-1.2: lib-index: Fixed v2.0 forwards compatibility suppor...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 28 18:18:32 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/ff4c1e9f47a4
changeset: 9341:ff4c1e9f47a4
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 28 11:18:26 2009 -0400
description:
lib-index: Fixed v2.0 forwards compatibility support. Expunges were handled wrong.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-index/mail-index-view-sync.c |    4 ++--

diffs (19 lines):

diff -r cc4af8e31175 -r ff4c1e9f47a4 src/lib-index/mail-index-view-sync.c
--- 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 @@ static bool view_sync_have_expunges(stru
 		}
 		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;
 			}


More information about the dovecot-cvs mailing list