[dovecot-cvs] dovecot/src/lib-storage/index index-mail-headers.c, 1.59.2.5, 1.59.2.6

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


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

Modified Files:
      Tag: branch_1_0
	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.59.2.5
retrieving revision 1.59.2.6
diff -u -d -r1.59.2.5 -r1.59.2.6
--- index-mail-headers.c	13 Oct 2006 15:32:35 -0000	1.59.2.5
+++ index-mail-headers.c	16 May 2007 13:57:20 -0000	1.59.2.6
@@ -358,8 +358,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. */
 		if (data->parser_ctx != NULL)



More information about the dovecot-cvs mailing list