dovecot-1.2: virtual: Don't show mailboxes as \Noselect.

dovecot at dovecot.org dovecot at dovecot.org
Fri May 1 21:57:00 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/fc4f65a4ca60
changeset: 9008:fc4f65a4ca60
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 66b6cd495702 -r fc4f65a4ca60 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
@@ -524,7 +524,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