[dovecot-cvs] dovecot/src/lib-index mail-index-view.c,1.34,1.35

cras at dovecot.org cras at dovecot.org
Sun May 8 20:36:09 EEST 2005


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

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



Index: mail-index-view.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-view.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mail-index-view.c	2 Apr 2005 21:09:03 -0000	1.34
+++ mail-index-view.c	8 May 2005 17:36:07 -0000	1.35
@@ -592,6 +592,8 @@
 {
 	struct mail_index_view *view;
 
+	i_assert(index->map != NULL);
+
 	view = i_new(struct mail_index_view, 1);
 	view->refcount = 1;
 	view->methods = view_methods;



More information about the dovecot-cvs mailing list