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

dovecot at dovecot.org dovecot at dovecot.org
Tue Oct 6 01:31:17 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/309ef3136fa0
changeset: 9971:309ef3136fa0
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Oct 05 18:31:08 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 4b28edba5ff9 -r 309ef3136fa0 src/lib-index/mail-index-view-sync.c
--- 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 @@ 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