# HG changeset patch # User Timo Sirainen # Date 1030573998 -10800 # Node ID 616d71338d52cff101a26755127a8dc428fd4b49 # Parent 20e979ad0b6dc7630f5965290753837ffb92acb0 reset modifylog sync mark at the end of opening index file diff -r 20e979ad0b6d -r 616d71338d52 src/lib-index/mail-index.c --- a/src/lib-index/mail-index.c Thu Aug 29 00:57:48 2002 +0300 +++ b/src/lib-index/mail-index.c Thu Aug 29 01:33:18 2002 +0300 @@ -462,7 +462,10 @@ index->set_flags |= MAIL_INDEX_FLAG_REBUILD; } - return TRUE; + /* finally reset the modify log marks, fsck or syncing might have + deleted some messages, and since we're only just opening the + index, there's no need to remember them */ + return mail_modifylog_mark_synced(index->modifylog); } static int mail_index_open_file(MailIndex *index, const char *filename,