[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.91, 1.92

cras at dovecot.org cras at dovecot.org
Fri Sep 24 15:25:22 EEST 2004


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

Modified Files:
	mbox-sync.c 
Log Message:
fix



Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- mbox-sync.c	24 Sep 2004 12:02:34 -0000	1.91
+++ mbox-sync.c	24 Sep 2004 12:25:20 -0000	1.92
@@ -96,7 +96,8 @@
 	size /= sizeof(*sync);
 
 	for (src = dest = 0; src < size; src++) {
-		if (sync[src].uid2 > uid) {
+		if (uid <= sync[src].uid2) {
+			/* keep it */
 			if (src != dest)
 				sync[dest] = sync[src];
 			dest++;



More information about the dovecot-cvs mailing list