[dovecot-cvs] dovecot/src/lib-index mail-index-sync.c,1.71,1.72

cras at dovecot.org cras at dovecot.org
Thu May 4 01:01:24 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv29328

Modified Files:
	mail-index-sync.c 
Log Message:
If only changes were recent-flag updates, we didn't write them to index.



Index: mail-index-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-sync.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- mail-index-sync.c	24 Feb 2006 12:25:58 -0000	1.71
+++ mail-index-sync.c	3 May 2006 22:01:22 -0000	1.72
@@ -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,



More information about the dovecot-cvs mailing list