dovecot-2.2: layout=fs: Always return INBOX uppercased when list...

dovecot at dovecot.org dovecot at dovecot.org
Wed May 15 17:09:48 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/9fcdd9f80e30
changeset: 16365:9fcdd9f80e30
user:      Timo Sirainen <tss at iki.fi>
date:      Wed May 15 17:09:36 2013 +0300
description:
layout=fs: Always return INBOX uppercased when listing mailboxes.

diffstat:

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

diffs (11 lines):

diff -r 0d4d5f7f93df -r 9fcdd9f80e30 src/lib-storage/list/mailbox-list-fs-iter.c
--- a/src/lib-storage/list/mailbox-list-fs-iter.c	Wed May 15 16:10:48 2013 +0300
+++ b/src/lib-storage/list/mailbox-list-fs-iter.c	Wed May 15 17:09:36 2013 +0300
@@ -682,6 +682,7 @@
 			return 0;
 		}
 		inbox_flags_set(ctx, child_dir_match);
+		ctx->info.vname = "INBOX"; /* always return uppercased */
 		ctx->inbox_found = TRUE;
 	} else if (strcmp(storage_name, "INBOX") == 0 &&
 		   (ns->flags & NAMESPACE_FLAG_INBOX_USER) != 0) {


More information about the dovecot-cvs mailing list