dovecot-2.2: dsync: Fixed infinite looping on error condition.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 26 14:29:08 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/25326be366c5
changeset: 17518:25326be366c5
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 26 17:27:31 2014 +0300
description:
dsync: Fixed infinite looping on error condition.
diffstat:
src/doveadm/dsync/dsync-mailbox-import.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 55041cf555b7 -r 25326be366c5 src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c Thu Jun 26 17:27:22 2014 +0300
+++ b/src/doveadm/dsync/dsync-mailbox-import.c Thu Jun 26 17:27:31 2014 +0300
@@ -1799,7 +1799,7 @@
/* skip common local mails */
(void)importer_next_mail(importer, importer->last_common_uid+1);
/* if there are any local mails left, add them to newmails list */
- while (importer->cur_mail != NULL)
+ while (importer->cur_mail != NULL && !importer->failed)
(void)dsync_mailbox_try_save(importer, NULL);
if (importer->search_ctx != NULL) {
More information about the dovecot-cvs
mailing list