dovecot-1.2: dbox could have listed INBOX twice.

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 8 23:45:32 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/c8d3024015a8
changeset: 8078:c8d3024015a8
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 08 16:45:23 2008 -0400
description:
dbox could have listed INBOX twice.

diffstat:

1 file changed, 1 insertion(+)
src/lib-storage/list/mailbox-list-fs-iter.c |    1 +

diffs (11 lines):

diff -r 6d51328896d6 -r c8d3024015a8 src/lib-storage/list/mailbox-list-fs-iter.c
--- a/src/lib-storage/list/mailbox-list-fs-iter.c	Thu Aug 07 15:33:52 2008 -0400
+++ b/src/lib-storage/list/mailbox-list-fs-iter.c	Fri Aug 08 16:45:23 2008 -0400
@@ -412,6 +412,7 @@ list_file_inbox(struct fs_list_iterate_c
 	/* INBOX/ directory. show the INBOX list now */
 	if ((ctx->ctx.list->flags & MAILBOX_LIST_FLAG_MAILBOX_FILES) == 0) {
 		/* this directory is the INBOX */
+		ctx->inbox_found = TRUE;
 	} else if (!ctx->inbox_found) {
 		(void)fs_list_inbox(ctx);
 		ctx->info.flags &= ~(MAILBOX_NOSELECT | MAILBOX_NONEXISTENT |


More information about the dovecot-cvs mailing list