[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.75,
1.76
cras at dovecot.org
cras at dovecot.org
Fri Sep 3 15:14:15 EEST 2004
Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv7745
Modified Files:
mbox-sync.c
Log Message:
sync fix
Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- mbox-sync.c 2 Sep 2004 15:51:44 -0000 1.75
+++ mbox-sync.c 3 Sep 2004 12:14:12 -0000 1.76
@@ -706,7 +706,8 @@
messages_count = mail_index_view_get_message_count(sync_ctx->sync_view);
- if (!mail_index_sync_have_more(sync_ctx->index_sync_ctx)) {
+ if (!mail_index_sync_have_more(sync_ctx->index_sync_ctx) ||
+ 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