Mercurial > dovecot > core-2.2
changeset 12664:47b4b5a12335
lib-storage: mailbox_list_mailbox() should have replaced info flags, not updated them.
Many callers didn't have the flags cleared before calling it.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 12 Feb 2011 06:05:07 +0200 |
parents | f11870d3db09 |
children | 440a1a3660ba |
files | src/lib-storage/mailbox-list.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mailbox-list.c Sat Feb 12 01:29:20 2011 +0200 +++ b/src/lib-storage/mailbox-list.c Sat Feb 12 06:05:07 2011 +0200 @@ -1182,6 +1182,8 @@ struct stat st; unsigned int len; + *flags_r = 0; + rootdir = mailbox_list_get_path(list, NULL, MAILBOX_LIST_PATH_TYPE_MAILBOX); path = mailbox_list_get_path(list, name, MAILBOX_LIST_PATH_TYPE_DIR);