changeset 8078:c8d3024015a8 HEAD

dbox could have listed INBOX twice.
author Timo Sirainen <tss@iki.fi>
date Fri, 08 Aug 2008 16:45:23 -0400
parents 6d51328896d6
children 4e1b54eb7407
files src/lib-storage/list/mailbox-list-fs-iter.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 	/* 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 |