dovecot-2.0: dsync: Fixed assert-crash with remote syncing.
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jul 1 22:46:07 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/be38abc90df3
changeset: 11693:be38abc90df3
user: Timo Sirainen <tss at iki.fi>
date: Thu Jul 01 20:46:04 2010 +0100
description:
dsync: Fixed assert-crash with remote syncing.
diffstat:
src/dsync/dsync-brain-msgs-new.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 3bc1cef3ac4c -r be38abc90df3 src/dsync/dsync-brain-msgs-new.c
--- a/src/dsync/dsync-brain-msgs-new.c Thu Jul 01 20:40:55 2010 +0100
+++ b/src/dsync/dsync-brain-msgs-new.c Thu Jul 01 20:46:04 2010 +0100
@@ -293,6 +293,11 @@
const struct dsync_brain_mailbox *mailbox;
const mailbox_guid_t *mailbox_guid;
+ if (iter->msgs_sent) {
+ dsync_brain_msg_sync_finish(iter);
+ return;
+ }
+
do {
mailbox = array_idx(&iter->sync->mailboxes, iter->mailbox_idx);
mailbox_guid = &mailbox->box.mailbox_guid;
More information about the dovecot-cvs
mailing list