Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6084:00495c124ea0 HEAD
Removed some weird code, probably debugging..
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 18 Jul 2007 09:42:21 +0300 |
parents | 1b0ef7a74448 |
children | cc8b6e73e830 |
files | src/lib-storage/index/cydir/cydir-storage.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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; }