* Returns 1 if the given line or any line beginning with the given line is an * in-body header (that is, check_header will succeed when passed * mi->s_hdr_data). */
| 626 | * mi->s_hdr_data). |
| 627 | */ |
| 628 | static int is_inbody_header(const struct mailinfo *mi, |
| 629 | const struct strbuf *line) |
| 630 | { |
| 631 | int i; |
| 632 | const char *val; |
| 633 | for (i = 0; i < ARRAY_SIZE(header); i++) |
| 634 | if (!mi->s_hdr_data[i] && skip_header(line, header[i], &val)) |
| 635 | return 1; |
| 636 | return 0; |
| 637 | } |
| 638 | |
| 639 | static void decode_transfer_encoding(struct mailinfo *mi, struct strbuf *line) |
| 640 | { |
no test coverage detected