[dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c, 1.73, 1.74

tss at dovecot.org tss at dovecot.org
Wed May 16 16:57:25 EEST 2007


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

Modified Files:
	index-mail-headers.c 
Log Message:
Assert-crashfix in some conditions.



Index: index-mail-headers.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-mail-headers.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- index-mail-headers.c	4 Apr 2007 09:27:36 -0000	1.73
+++ index-mail-headers.c	16 May 2007 13:57:23 -0000	1.74
@@ -398,8 +398,7 @@
 
 	index_mail_parse_header_init(mail, headers);
 
-	if (data->parser_ctx == NULL && (data->parts == NULL ||
-					 data->save_bodystructure_header)) {
+	if (data->parts == NULL || data->save_bodystructure_header) {
 		/* initialize bodystructure parsing in case we read the whole
 		   message. */
 		index_mail_init_parser(mail);



More information about the dovecot-cvs mailing list