[dovecot-cvs] dovecot/src/lib-storage/index index-status.c,1.20,1.21
cras at procontrol.fi
cras at procontrol.fi
Wed Dec 18 03:23:22 EET 2002
Update of /home/cvs/dovecot/src/lib-storage/index
In directory danu:/tmp/cvs-serv10169/lib-storage/index
Modified Files:
index-status.c
Log Message:
More verbose error message when noticing problems with seen messages count.
Index: index-status.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-status.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- index-status.c 25 Nov 2002 19:02:50 -0000 1.20
+++ index-status.c 18 Dec 2002 01:23:20 -0000 1.21
@@ -25,8 +25,9 @@
rec = index->lookup_uid_range(index, lowwater_uid,
hdr->next_uid - 1, &seq);
if (rec == NULL) {
- i_error("index header's seen_messages_count or "
- "first_unseen_uid_lowwater is invalid.");
+ i_error("index header's seen_messages_count (%u) or "
+ "first_unseen_uid_lowwater (%u) is invalid.",
+ hdr->seen_messages_count, lowwater_uid);
INDEX_MARK_CORRUPTED(index);
return 0;
}
More information about the dovecot-cvs
mailing list