changeset 5625:ebf443cae951 HEAD

Assert-crashfix in some conditions.
author Timo Sirainen <tss@iki.fi>
date Wed, 16 May 2007 16:57:23 +0300
parents 547c5d58aa08
children d1de7c486763
files src/lib-storage/index/index-mail-headers.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/index/index-mail-headers.c	Wed May 16 16:31:13 2007 +0300
+++ b/src/lib-storage/index/index-mail-headers.c	Wed May 16 16:57:23 2007 +0300
@@ -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);