]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
crashfix
authorTimo Sirainen <tss@iki.fi>
Tue, 1 Apr 2003 14:55:48 +0000 (17:55 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 1 Apr 2003 14:55:48 +0000 (17:55 +0300)
--HG--
branch : HEAD

src/lib-imap/imap-bodystructure.c

index 6fd6706d1f2a81971cb5c4d3d36e8fc904288cbd..686c68d0fcc16b46a607fc8b994a969a2369f890 100644 (file)
@@ -227,7 +227,7 @@ static void parse_header(struct message_part *part,
        struct message_part_body_data *part_data;
        int parent_rfc822;
 
-       if (hdr == NULL)
+       if (hdr == NULL || hdr->eoh)
                return;
 
        parent_rfc822 = part->parent != NULL &&