dovecot: Fallbacking to backend listing was broken.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jul 18 08:20:48 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/bec0f5cc8388
changeset: 6070:bec0f5cc8388
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jul 18 08:08:21 2007 +0300
description:
Fallbacking to backend listing was broken.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/list/index-mailbox-list.c |    2 +-

diffs (12 lines):

diff -r 8576ce5d7fb4 -r bec0f5cc8388 src/lib-storage/list/index-mailbox-list.c
--- a/src/lib-storage/list/index-mailbox-list.c	Wed Jul 18 07:58:21 2007 +0300
+++ b/src/lib-storage/list/index-mailbox-list.c	Wed Jul 18 08:08:21 2007 +0300
@@ -274,7 +274,7 @@ index_mailbox_list_iter_init(struct mail
 	ctx->ns_prefix = list->ns->prefix;
 	ctx->ns_prefix_len = strlen(ctx->ns_prefix);
 
-	if (index_mailbox_list_iter_init_try(ctx, patterns) < 0) {
+	if (!index_mailbox_list_iter_init_try(ctx, patterns)) {
 		/* no indexing */
 		ctx->backend_ctx = ilist->module_ctx.super.
 			iter_init(list, patterns, flags);


More information about the dovecot-cvs mailing list