[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.76, 1.77

cras at dovecot.org cras at dovecot.org
Fri Sep 3 15:34:37 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv20824/lib-storage/index/mbox

Modified Files:
	mbox-sync.c 
Log Message:
Still wrong sync logic



Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- mbox-sync.c	3 Sep 2004 12:14:12 -0000	1.76
+++ mbox-sync.c	3 Sep 2004 12:34:35 -0000	1.77
@@ -707,7 +707,7 @@
 	messages_count = mail_index_view_get_message_count(sync_ctx->sync_view);
 
 	if (!mail_index_sync_have_more(sync_ctx->index_sync_ctx) ||
-	    min_message_count != 0) {
+	    (!partial && min_message_count != 0)) {
 		ret = mbox_sync_seek_to_seq(sync_ctx, partial ?
 					    messages_count : 0);
 	} else {



More information about the dovecot-cvs mailing list