dovecot: Removed some weird code, probably debugging..

dovecot at dovecot.org dovecot at dovecot.org
Wed Jul 18 09:42:25 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/00495c124ea0
changeset: 6084:00495c124ea0
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jul 18 09:42:21 2007 +0300
description:
Removed some weird code, probably debugging..

diffstat:

1 file changed, 6 deletions(-)
src/lib-storage/index/cydir/cydir-storage.c |    6 ------

diffs (22 lines):

diff -r 1b0ef7a74448 -r 00495c124ea0 src/lib-storage/index/cydir/cydir-storage.c
--- a/src/lib-storage/index/cydir/cydir-storage.c	Wed Jul 18 09:36:22 2007 +0300
+++ b/src/lib-storage/index/cydir/cydir-storage.c	Wed Jul 18 09:42:21 2007 +0300
@@ -356,18 +356,12 @@ static int cydir_list_iter_is_mailbox(st
 	struct stat st;
 	int ret = 1;
 
-	if (strchr(fname, '.') != NULL) {
-		*flags = MAILBOX_NOSELECT;
-		return 0;
-	}
-
 	/* try to avoid stat() with these checks */
 	if (type != MAILBOX_LIST_FILE_TYPE_DIR &&
 	    type != MAILBOX_LIST_FILE_TYPE_SYMLINK &&
 	    type != MAILBOX_LIST_FILE_TYPE_UNKNOWN &&
 	    (ctx->flags & MAILBOX_LIST_ITER_RETURN_NO_FLAGS) != 0) {
 		/* it's a file */
-		*flags |= MAILBOX_NOSELECT | MAILBOX_NOINFERIORS;
 		return 0;
 	}
 


More information about the dovecot-cvs mailing list