Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2239:1057a5dc0ca7 HEAD
assertfix
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 23 Jun 2004 23:10:34 +0300 |
parents | 9cc23c29aaec |
children | 51719889ffcf |
files | src/lib-storage/index/maildir/maildir-sync.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/index/maildir/maildir-sync.c Wed Jun 23 21:33:22 2004 +0300 +++ b/src/lib-storage/index/maildir/maildir-sync.c Wed Jun 23 23:10:34 2004 +0300 @@ -766,6 +766,7 @@ } /* now, sync the index */ + ibox->syncing_commit = TRUE; while ((ret = mail_index_sync_next(sync_ctx.sync_ctx, &sync_ctx.sync_rec)) > 0) { if (maildir_sync_record(ibox, &sync_ctx) < 0) { @@ -773,6 +774,7 @@ break; } } + ibox->syncing_commit = FALSE; if (ibox->dirty_cur_time == 0 && ibox->last_cur_mtime != (time_t)hdr->sync_stamp) {