changeset 4248:f17622d1d927 HEAD

If only changes were recent-flag updates, we didn't write them to index.
author Timo Sirainen <tss@iki.fi>
date Thu, 04 May 2006 01:01:22 +0300
parents 9c3f19110538
children 706c978c7c7d
files src/lib-index/mail-index-sync.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-sync.c	Wed May 03 23:07:13 2006 +0300
+++ b/src/lib-index/mail-index-sync.c	Thu May 04 01:01:22 2006 +0300
@@ -655,7 +655,8 @@
 	hdr = index->hdr;
 	if (ret == 0 && (hdr->log_file_seq != seq ||
 			 hdr->log_file_int_offset != offset ||
-			 hdr->log_file_ext_offset != offset)) {
+			 hdr->log_file_ext_offset != offset ||
+			 ctx->sync_recent)) {
 		/* write all pending changes to index. */
 		if (mail_index_sync_set_log_view(ctx->view,
 						 hdr->log_file_seq,