dovecot-2.2: dsync: Assert-crashfix for previous importer changes.

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 16 14:09:48 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/e49424a3b13e
changeset: 15778:e49424a3b13e
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Feb 16 14:09:42 2013 +0200
description:
dsync: Assert-crashfix for previous importer changes.

diffstat:

 src/doveadm/dsync/dsync-mailbox-import.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a709ae98a728 -r e49424a3b13e src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c	Sat Feb 16 13:58:14 2013 +0200
+++ b/src/doveadm/dsync/dsync-mailbox-import.c	Sat Feb 16 14:09:42 2013 +0200
@@ -1222,7 +1222,7 @@
 		}
 
 		newmail->final_uid = new_uid;
-		if (newmail->link != NULL) {
+		if (newmail->link != NULL && newmail->link != newmail) {
 			/* skip processing the linked mail */
 			newmail->link->skip = TRUE;
 		}


More information about the dovecot-cvs mailing list