dovecot-1.2: fs mailbox listing was sometimes scanning subdirect...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Mar 26 02:38:52 EET 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/c5b2260f767d
changeset: 8870:c5b2260f767d
user: Timo Sirainen <tss at iki.fi>
date: Wed Mar 25 20:38:46 2009 -0400
description:
fs mailbox listing was sometimes scanning subdirectories unneededly.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-storage/list/mailbox-list-fs-iter.c | 2 +-
diffs (12 lines):
diff -r 8cedfefc98e0 -r c5b2260f767d src/lib-storage/list/mailbox-list-fs-iter.c
--- a/src/lib-storage/list/mailbox-list-fs-iter.c Wed Mar 25 20:27:02 2009 -0400
+++ b/src/lib-storage/list/mailbox-list-fs-iter.c Wed Mar 25 20:38:46 2009 -0400
@@ -501,7 +501,7 @@ list_file_subdir(struct fs_list_iterate_
else
ctx->info.name = NULL;
- scan_subdir = (match & (IMAP_MATCH_YES | IMAP_MATCH_CHILDREN)) != 0;
+ scan_subdir = (match2 & (IMAP_MATCH_YES | IMAP_MATCH_CHILDREN)) != 0;
if ((match == IMAP_MATCH_YES || scan_subdir) &&
ctx->info.name != NULL &&
(ctx->ctx.flags & MAILBOX_LIST_ITER_RETURN_CHILDREN) != 0 &&
More information about the dovecot-cvs
mailing list