Mercurial > dovecot > original-hg > dovecot-1.2
changeset 90:ccb155c2c93f HEAD
mail_modifylog_mark_synced() didn't update mmap
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 29 Aug 2002 01:39:13 +0300 |
parents | 616d71338d52 |
children | dc0891523276 |
files | src/lib-index/mail-modifylog.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-index/mail-modifylog.c Thu Aug 29 01:33:18 2002 +0300 +++ b/src/lib-index/mail-modifylog.c Thu Aug 29 01:39:13 2002 +0300 @@ -485,6 +485,9 @@ { i_assert(log->index->lock_type != MAIL_LOCK_UNLOCK); + if (!mmap_update(log)) + return FALSE; + if (log->header->sync_id == SYNC_ID_FULL) { /* log file is full, switch to next one */ return mail_modifylog_switch_file(log);