[dovecot-cvs] dovecot/src/lib-index mail-index.c,1.182,1.183

cras at dovecot.org cras at dovecot.org
Tue Dec 7 23:32:12 EET 2004


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

Modified Files:
	mail-index.c 
Log Message:
Added assert



Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.182
retrieving revision 1.183
diff -u -d -r1.182 -r1.183
--- mail-index.c	5 Dec 2004 03:42:43 -0000	1.182
+++ mail-index.c	7 Dec 2004 21:32:09 -0000	1.183
@@ -646,6 +646,7 @@
 	if (sync_to_index) {
 		/* make sure log file offsets get copied. most of the other
 		   fields should stay the same. */
+		i_assert(hdr.messages_count == (*map)->hdr.messages_count);
 		(*map)->hdr = hdr;
 	}
 



More information about the dovecot-cvs mailing list