]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Removed accidentally committed debug code that caused Maildir tmp/ directory
authorTimo Sirainen <tss@iki.fi>
Wed, 18 Jun 2008 05:03:57 +0000 (08:03 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 18 Jun 2008 05:03:57 +0000 (08:03 +0300)
to be scanned every time mailbox was opened.

--HG--
branch : HEAD

src/lib-storage/index/maildir/maildir-storage.c

index 961ffa78e6f7e603fc8b6e56e9ed59ffff8e47dd..e45aaa19b52d44f52144a03a8b75c55fa627aaf6 100644 (file)
@@ -341,7 +341,6 @@ static int maildir_check_tmp(struct mail_storage *storage, const char *dir)
                mail_storage_set_critical(storage, "stat(%s) failed: %m", path);
                return -1;
        }
-       st.st_atime = 0;
 
        if (st.st_atime > st.st_ctime + MAILDIR_TMP_DELETE_SECS) {
                /* the directory should be empty. we won't do anything