projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplifications around mutt_is_message_type
[apps/madmutt.git]
/
commands.c
diff --git
a/commands.c
b/commands.c
index
4a40dc9
..
7c7d869
100644
(file)
--- a/
commands.c
+++ b/
commands.c
@@
-853,12
+853,12
@@
void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp)
if (!is_multipart(b) && b->parts)
body_list_wipe(&b->parts);
if (!is_multipart(b) && b->parts)
body_list_wipe(&b->parts);
- if (!mutt_is_message_type
(b->type, b->subtype
) && b->hdr) {
+ if (!mutt_is_message_type
(b
) && b->hdr) {
b->hdr->content = NULL;
header_delete(&b->hdr);
}
b->hdr->content = NULL;
header_delete(&b->hdr);
}
- if (fp && (is_multipart(b) || mutt_is_message_type(b
->type, b->subtype
)))
+ if (fp && (is_multipart(b) || mutt_is_message_type(b)))
mutt_parse_part (fp, b);
if (h) {
mutt_parse_part (fp, b);
if (h) {