dovecot-2.2: lib-storage: Fixed crash with mailbox_list_index=ye...

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 10 00:14:19 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/f39664bd4b29
changeset: 16258:f39664bd4b29
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 10 00:14:09 2013 +0300
description:
lib-storage: Fixed crash with mailbox_list_index=yes and out-of-date index.

diffstat:

 src/lib-storage/list/mailbox-list-index-status.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r fbef40826602 -r f39664bd4b29 src/lib-storage/list/mailbox-list-index-status.c
--- a/src/lib-storage/list/mailbox-list-index-status.c	Tue Apr 09 23:54:52 2013 +0300
+++ b/src/lib-storage/list/mailbox-list-index-status.c	Wed Apr 10 00:14:09 2013 +0300
@@ -498,7 +498,7 @@
 	view = mail_index_view_open(ilist->index);
 	if (!mail_index_lookup_seq(view, uid, &seq)) {
 		/* our in-memory tree is out of sync */
-		ret = 0;
+		ret = 1;
 	} else T_BEGIN {
 		ret = box->v.list_index_has_changed == NULL ? 0 :
 			box->v.list_index_has_changed(box, view, seq);


More information about the dovecot-cvs mailing list