dovecot-1.1: dbox could have listed INBOX twice.

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


details:   http://hg.dovecot.org/dovecot-1.1/rev/a2d54b89cf21
changeset: 7816:a2d54b89cf21
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 08 16:45:21 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 ea6aea0a4cbb -r a2d54b89cf21 src/lib-storage/list/mailbox-list-fs-iter.c
--- a/src/lib-storage/list/mailbox-list-fs-iter.c	Wed Aug 06 12:54:50 2008 -0400
+++ b/src/lib-storage/list/mailbox-list-fs-iter.c	Fri Aug 08 16:45:21 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