dovecot-1.2: QRESYNC crashfix

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 11 14:40:26 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/f8a0e11566c8
changeset: 7813:f8a0e11566c8
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 11 14:36:44 2008 +0300
description:
QRESYNC crashfix

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/imap/imap-fetch.c |    2 +-

diffs (12 lines):

diff -r d10cb44ab446 -r f8a0e11566c8 src/imap/imap-fetch.c
--- a/src/imap/imap-fetch.c	Wed Jun 11 14:35:15 2008 +0300
+++ b/src/imap/imap-fetch.c	Wed Jun 11 14:36:44 2008 +0300
@@ -270,7 +270,7 @@ static int get_expunges_fallback(struct 
 	if (mailbox_search_deinit(&search_ctx) < 0)
 		ret = -1;
 
-	if (ret == 0 && ctx->qresync_sample_seqset != NULL)
+	if (ret == 0 && array_is_created(ctx->qresync_sample_seqset))
 		expunges_drop_known(ctx, mail, expunges);
 
 	mail_free(&mail);


More information about the dovecot-cvs mailing list