[dovecot-cvs] dovecot/src/lib-index mail-index-transaction.c, 1.84, 1.85

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


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

Modified Files:
	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.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- mail-index-transaction.c	25 Nov 2006 22:12:11 -0000	1.84
+++ mail-index-transaction.c	22 Jan 2007 15:21:16 -0000	1.85
@@ -425,6 +425,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