[dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.113, 1.114

tss at dovecot.org tss at dovecot.org
Sat Mar 10 20:25:29 EET 2007


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

Modified Files:
	mail-index-sync-update.c 
Log Message:
View log file offset fix



Index: mail-index-sync-update.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-sync-update.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- mail-index-sync-update.c	9 Mar 2007 21:17:10 -0000	1.113
+++ mail-index-sync-update.c	10 Mar 2007 18:25:25 -0000	1.114
@@ -37,7 +37,7 @@
 
 	if (!ctx->sync_only_external)
 		map->hdr.log_file_int_offset = prev_offset;
-	else if (map->hdr.log_file_seq != prev_seq && map == ctx->view->map) {
+	else if (map->hdr.log_file_seq != prev_seq) {
 		/* log sequence changed. update internal offset to
 		   beginning of the new file. */
 		i_assert(map->hdr.log_file_int_offset ==



More information about the dovecot-cvs mailing list