[dovecot-cvs] dovecot/src/lib-index mail-index-transaction.c, 1.76.2.1, 1.76.2.2

tss at dovecot.org tss at dovecot.org
Mon Jan 22 15:21:15 UTC 2007


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

Modified Files:
      Tag: branch_1_0
	mail-index-transaction.c 
Log Message:
Added asserts



Index: mail-index-transaction.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-transaction.c,v
retrieving revision 1.76.2.1
retrieving revision 1.76.2.2
diff -u -d -r1.76.2.1 -r1.76.2.2
--- mail-index-transaction.c	12 Nov 2006 19:52:29 -0000	1.76.2.1
+++ mail-index-transaction.c	22 Jan 2007 15:21:12 -0000	1.76.2.2
@@ -443,6 +443,8 @@
 	struct mail_index_record *recs;
 	unsigned int i, count;
 
+	i_assert(first_uid != 0);
+
 	if (!array_is_created(&t->appends))
 		return;
 



More information about the dovecot-cvs mailing list