dovecot-2.0-sslstream: layout=fs: Fixed listing mailboxes under ...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Feb 13 02:56:32 EET 2010
details: http://hg.dovecot.org/dovecot-2.0-sslstream/rev/0729e84246e9
changeset: 10359:0729e84246e9
user: Timo Sirainen <tss at iki.fi>
date: Tue Nov 17 21:04:46 2009 -0500
description:
layout=fs: Fixed listing mailboxes under INBOX with non-mbox storages.
diffstat:
1 file changed, 3 insertions(+)
src/lib-storage/list/mailbox-list-fs-iter.c | 3 +++
diffs (13 lines):
diff -r e94d43687351 -r 0729e84246e9 src/lib-storage/list/mailbox-list-fs-iter.c
--- a/src/lib-storage/list/mailbox-list-fs-iter.c Tue Nov 17 20:56:00 2009 -0500
+++ b/src/lib-storage/list/mailbox-list-fs-iter.c Tue Nov 17 21:04:46 2009 -0500
@@ -434,6 +434,9 @@ list_file_is_inbox(struct fs_list_iterat
{
const char *real_path, *inbox_path;
+ if ((ctx->ctx.list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) == 0)
+ return FALSE;
+
real_path = t_strconcat(ctx->dir->real_path, "/", fname, NULL);
inbox_path = mailbox_list_get_path(ctx->ctx.list, "INBOX",
MAILBOX_LIST_PATH_TYPE_DIR);
More information about the dovecot-cvs
mailing list