[dovecot-cvs] dovecot/src/lib-index mail-index-fsck.c,1.10,1.11
cras at procontrol.fi
cras at procontrol.fi
Sat Dec 21 12:58:27 EET 2002
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv8541/lib-index
Modified Files:
mail-index-fsck.c
Log Message:
fsck updated first_unseen_uid_lowwater wrong, which caused SELECT or EXAMINE
to print wrong [UNSEEN seq] tag, or sometimes complain about corrupted
indexes.
Index: mail-index-fsck.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-fsck.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- mail-index-fsck.c 9 Dec 2002 17:21:40 -0000 1.10
+++ mail-index-fsck.c 21 Dec 2002 10:58:25 -0000 1.11
@@ -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) {
More information about the dovecot-cvs
mailing list