Mercurial > dovecot > original-hg > dovecot-1.2
changeset 89:616d71338d52 HEAD
reset modifylog sync mark at the end of opening index file
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 29 Aug 2002 01:33:18 +0300 |
parents | 20e979ad0b6d |
children | ccb155c2c93f |
files | src/lib-index/mail-index.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,