changeset 5995:2473829b42b2 HEAD

Syncing fix
author Timo Sirainen <tss@iki.fi>
date Sat, 14 Jul 2007 23:59:29 +0300
parents 8964d1b2b78b
children 00be53d8f076
files src/lib-index/mail-index-view-sync.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-view-sync.c	Sat Jul 14 23:19:30 2007 +0300
+++ b/src/lib-index/mail-index-view-sync.c	Sat Jul 14 23:59:29 2007 +0300
@@ -437,9 +437,9 @@
 		   of this view sync we'll update file_seq=0 so that this check
 		   always becomes FALSE for subsequent syncs. */
 		synced_to_map = view->map->hdr.log_file_seq != 0 &&
-			!LOG_IS_BEFORE(seq, offset,
-				       view->map->hdr.log_file_seq,
-				       view->map->hdr.log_file_head_offset);
+			LOG_IS_BEFORE(seq, offset,
+				      view->map->hdr.log_file_seq,
+				      view->map->hdr.log_file_head_offset);
 
 		/* Apply transaction to view's mapping if needed (meaning we
 		   didn't just re-map the view to head mapping). */