Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2258:087a43e29492 HEAD
No maildir filename checking after all.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 30 Jun 2004 11:52:39 +0300 |
parents | 487b9179f5dd |
children | 07c8813877cc |
files | src/lib-storage/index/maildir/maildir-sync.c |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-sync.c Tue Jun 29 19:23:54 2004 +0300 +++ b/src/lib-storage/index/maildir/maildir-sync.c Wed Jun 30 11:52:39 2004 +0300 @@ -441,13 +441,8 @@ move_new = new_dir && !mailbox_is_readonly(&ctx->ibox->box) && !ctx->ibox->keep_recent; while ((dp = readdir(dirp)) != NULL) { - if (dp->d_name[0] < '0' || dp->d_name[0] > '9') { - if (dp->d_name[0] != '.') { - i_warning("Invalid maildir filename in %s: %s", - dir, dp->d_name); - } + if (dp->d_name[0] == '.') continue; - } ret = maildir_uidlist_sync_next_pre(ctx->uidlist_sync_ctx, dp->d_name);