Mercurial > dovecot > core-2.2
changeset 22118:750f39bfac6c
lib-storage: fs_list_get_mailbox_flags() - Don't assume directories always have children.
This makes the directory handling code equivalent for type==UNKNOWN and
type==DIR.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Tue, 30 May 2017 09:12:05 +0300 |
parents | 3a2026418467 |
children | b851ae883087 |
files | src/lib-storage/list/mailbox-list-fs-flags.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/list/mailbox-list-fs-flags.c Tue May 30 09:10:55 2017 +0300 +++ b/src/lib-storage/list/mailbox-list-fs-flags.c Tue May 30 09:12:05 2017 +0300 @@ -210,7 +210,7 @@ MAILBOX_LIST_FILE_TYPE_UNKNOWN because the filesystem didn't return the type. Normally this should have already been handled by the MAILBOX_LIST_FILE_TYPE_DIR check above. */ - *flags_r |= MAILBOX_NOSELECT | MAILBOX_CHILDREN; + *flags_r |= MAILBOX_NOSELECT; return 1; }