[dovecot-cvs] dovecot/src/lib-index mail-index-transaction.c, 1.41, 1.42

cras at dovecot.org cras at dovecot.org
Sun Jan 16 20:34:35 EET 2005


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

Modified Files:
	mail-index-transaction.c 
Log Message:
Removed assert which crashed us every time we were setting flags to messages
in non-increasing order (could be done only with POP3).



Index: mail-index-transaction.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-transaction.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- mail-index-transaction.c	16 Jan 2005 18:03:27 -0000	1.41
+++ mail-index-transaction.c	16 Jan 2005 18:34:33 -0000	1.42
@@ -513,8 +513,6 @@
 	if (idx < size && data[idx].uid2 < update.uid1)
 		idx++;
 
-	i_assert(idx == size || data[idx].uid1 <= update.uid1);
-
 	/* insert it into buffer, split it in multiple parts if needed
 	   to make sure the ordering stays the same */
 	for (; idx < size; idx++) {



More information about the dovecot-cvs mailing list