[dovecot-cvs] dovecot/src/lib-index mail-index.c, 1.230.2.26, 1.230.2.27

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


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

Modified Files:
      Tag: branch_1_0
	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.230.2.26
retrieving revision 1.230.2.27
diff -u -d -r1.230.2.26 -r1.230.2.27
--- mail-index.c	11 Mar 2007 16:10:38 -0000	1.230.2.26
+++ mail-index.c	14 Mar 2007 19:39:24 -0000	1.230.2.27
@@ -935,6 +935,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