dovecot-2.1: lib-storage: MAILBOX_LIST_ITER_RETURN_SPECIALUSE wa...

dovecot at dovecot.org dovecot at dovecot.org
Wed Dec 7 01:28:30 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/b6083d4d77d5
changeset: 13805:b6083d4d77d5
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Dec 07 01:28:20 2011 +0200
description:
lib-storage: MAILBOX_LIST_ITER_RETURN_SPECIALUSE was checked wrong

diffstat:

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

diffs (12 lines):

diff -r 9b9a206395f7 -r b6083d4d77d5 src/lib-storage/mailbox-list-iter.c
--- a/src/lib-storage/mailbox-list-iter.c	Wed Dec 07 00:48:54 2011 +0200
+++ b/src/lib-storage/mailbox-list-iter.c	Wed Dec 07 01:28:20 2011 +0200
@@ -568,7 +568,7 @@
 		return NULL;
 
 	ctx->list->ns->flags |= NAMESPACE_FLAG_USABLE;
-	if ((ctx->list->flags & MAILBOX_LIST_ITER_RETURN_SPECIALUSE) != 0) {
+	if ((ctx->flags & MAILBOX_LIST_ITER_RETURN_SPECIALUSE) != 0) {
 		set = mailbox_settings_find(ctx->list->ns->user, info->name);
 		if (set != NULL && *set->special_use != '\0') {
 			ctx->specialuse_info = *info;


More information about the dovecot-cvs mailing list