[dovecot-cvs] dovecot/src/lib-index mail-index.c,1.268,1.269

tss at dovecot.org tss at dovecot.org
Wed Mar 14 21:39:28 EET 2007


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

Modified Files:
	mail-index.c 
Log Message:
Error handling crashfix



Index: mail-index.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.c,v
retrieving revision 1.268
retrieving revision 1.269
diff -u -d -r1.268 -r1.269
--- mail-index.c	11 Mar 2007 16:10:42 -0000	1.268
+++ mail-index.c	14 Mar 2007 19:39:25 -0000	1.269
@@ -938,6 +938,7 @@
 					  MAIL_TRANSACTION_TYPE_MASK) <= 0) {
 		/* can't use it. sync by re-reading index. */
 		mail_index_view_close(&view);
+		index->map = NULL;
 		return 0;
 	}
 



More information about the dovecot-cvs mailing list