Mercurial > dovecot > original-hg > dovecot-1.2
changeset 819:ee8acb990752 HEAD
fsck updated first_unseen_uid_lowwater wrong, which caused SELECT or EXAMINE
to print wrong [UNSEEN seq] tag, or sometimes complain about corrupted
indexes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 21 Dec 2002 12:58:25 +0200 |
parents | 3d8767d31fe2 |
children | 9bcd3cc068a5 |
files | src/lib-index/mail-index-fsck.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-index-fsck.c Sat Dec 21 12:56:55 2002 +0200 +++ b/src/lib-index/mail-index-fsck.c Sat Dec 21 12:58:25 2002 +0200 @@ -103,7 +103,7 @@ if (rec->msg_flags & MAIL_SEEN) hdr->seen_messages_count++; - else if (hdr->first_unseen_uid_lowwater) + else if (hdr->first_unseen_uid_lowwater == 0) hdr->first_unseen_uid_lowwater = rec->uid; if (rec->msg_flags & MAIL_DELETED) {