dovecot-2.0: virtual: Don't show mailboxes as \Noselect.
dovecot at dovecot.org
dovecot at dovecot.org
Fri May 1 21:57:10 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/f5eb54133c9d
changeset: 9198:f5eb54133c9d
user: Timo Sirainen <tss at iki.fi>
date: Fri May 01 14:56:52 2009 -0400
description:
virtual: Don't show mailboxes as \Noselect.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/virtual/virtual-storage.c | 2 +-
diffs (12 lines):
diff -r 2e7503221cb7 -r f5eb54133c9d src/plugins/virtual/virtual-storage.c
--- a/src/plugins/virtual/virtual-storage.c Fri May 01 14:53:52 2009 -0400
+++ b/src/plugins/virtual/virtual-storage.c Fri May 01 14:56:52 2009 -0400
@@ -523,7 +523,7 @@ virtual_list_iter_is_mailbox(struct mail
if ((*flags & MAILBOX_NOSELECT) == 0) {
/* make sure it's a selectable mailbox */
maildir_path = t_strconcat(path, "/"VIRTUAL_CONFIG_FNAME, NULL);
- if (stat(maildir_path, &st) < 0 || !S_ISDIR(st.st_mode))
+ if (stat(maildir_path, &st) < 0)
*flags |= MAILBOX_NOSELECT;
}
return ret;
More information about the dovecot-cvs
mailing list