dovecot: Removed broken check for empty lines in maildirsize, wh...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Nov 23 12:35:52 EET 2007
details: http://hg.dovecot.org/dovecot/rev/04809db163ab
changeset: 6847:04809db163ab
user: Timo Sirainen <tss at iki.fi>
date: Fri Nov 23 12:35:48 2007 +0200
description:
Removed broken check for empty lines in maildirsize, which could have caused
maildirsize recalculations to happen too often.
diffstat:
1 file changed, 4 deletions(-)
src/plugins/quota/quota-maildir.c | 4 ----
diffs (14 lines):
diff -r 61a764835d40 -r 04809db163ab src/plugins/quota/quota-maildir.c
--- a/src/plugins/quota/quota-maildir.c Fri Nov 23 12:19:49 2007 +0200
+++ b/src/plugins/quota/quota-maildir.c Fri Nov 23 12:35:48 2007 +0200
@@ -416,10 +416,6 @@ static int maildirsize_parse(struct mail
total_bytes += bytes_diff;
total_count += count_diff;
}
- /* we end always with LF, which shows up as empty last line. there
- should be no other empty lines */
- if (lines[1] != NULL)
- return -1;
if (total_bytes < 0 || total_count < 0) {
/* corrupted */
More information about the dovecot-cvs
mailing list