[dovecot-cvs] dovecot/src/lib-index mail-index-sync-update.c, 1.96.2.15, 1.96.2.16

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


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

Modified Files:
      Tag: branch_1_0
	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.96.2.15
retrieving revision 1.96.2.16
diff -u -d -r1.96.2.15 -r1.96.2.16
--- mail-index-sync-update.c	9 Mar 2007 21:17:07 -0000	1.96.2.15
+++ mail-index-sync-update.c	10 Mar 2007 18:25:21 -0000	1.96.2.16
@@ -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