changeset 1327:36ba64c5dbb2 HEAD

crashfix
author Timo Sirainen <tss@iki.fi>
date Tue, 01 Apr 2003 17:55:48 +0300
parents baf63e166aeb
children 0a524d229f50
files src/lib-imap/imap-bodystructure.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-imap/imap-bodystructure.c	Tue Apr 01 15:02:05 2003 +0300
+++ b/src/lib-imap/imap-bodystructure.c	Tue Apr 01 17:55:48 2003 +0300
@@ -227,7 +227,7 @@
 	struct message_part_body_data *part_data;
 	int parent_rfc822;
 
-	if (hdr == NULL)
+	if (hdr == NULL || hdr->eoh)
 		return;
 
 	parent_rfc822 = part->parent != NULL &&