dovecot-2.0: Maildir LAYOUT=fs: Default INBOX path to Maildir root.

dovecot at dovecot.org dovecot at dovecot.org
Sun Jul 26 22:33:16 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/cc8c020707c1
changeset: 9659:cc8c020707c1
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jul 26 15:33:09 2009 -0400
description:
Maildir LAYOUT=fs: Default INBOX path to Maildir root.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-storage.c |    3 ++-

diffs (13 lines):

diff -r f29a25420a82 -r cc8c020707c1 src/lib-storage/index/maildir/maildir-storage.c
--- a/src/lib-storage/index/maildir/maildir-storage.c	Sun Jul 26 15:03:30 2009 -0400
+++ b/src/lib-storage/index/maildir/maildir-storage.c	Sun Jul 26 15:33:09 2009 -0400
@@ -142,7 +142,8 @@ static void maildir_storage_get_list_set
 		set->subscription_fname = MAILDIR_SUBSCRIPTION_FILE_NAME;
 
 	if (set->inbox_path == NULL &&
-	    strcmp(set->layout, MAILBOX_LIST_NAME_MAILDIRPLUSPLUS) == 0 &&
+	    (strcmp(set->layout, MAILBOX_LIST_NAME_MAILDIRPLUSPLUS) == 0 ||
+	     strcmp(set->layout, MAILBOX_LIST_NAME_FS) == 0) &&
 	    (ns->flags & NAMESPACE_FLAG_INBOX) != 0) {
 		/* Maildir++ INBOX is the Maildir base itself */
 		set->inbox_path = set->root_dir;


More information about the dovecot-cvs mailing list