Mercurial > dovecot > core-2.2
changeset 15664:9aba8584e5eb
dsync: Fixed infinite loop when message suddenly got expunged.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 21 Jan 2013 18:12:41 +0200 |
parents | df2e46c38c92 |
children | 2c249941f9c2 |
files | src/doveadm/dsync/dsync-mailbox-import.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-mailbox-import.c Mon Jan 21 18:12:12 2013 +0200 +++ b/src/doveadm/dsync/dsync-mailbox-import.c Mon Jan 21 18:12:41 2013 +0200 @@ -226,6 +226,7 @@ if (mail_get_special(importer->cur_mail, MAIL_FETCH_GUID, &importer->cur_guid) < 0) { dsync_mail_error(importer, importer->cur_mail, "GUID"); + importer->next_local_seq = importer->cur_mail->seq + 1; return importer_next_mail(importer, wanted_uid); } /* make sure next_local_seq gets updated in case we came here