b->force_charset |= charset_changed ? 1 : 0;
- if (!is_multipart (b) && b->parts)
+ if (!is_multipart(b) && b->parts)
mutt_free_body (&b->parts);
if (!mutt_is_message_type (b->type, b->subtype) && 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->type, b->subtype)))
mutt_parse_part (fp, b);
if (h) {
#define is_multipart(x) \
((x)->type == TYPEMULTIPART \
|| ((x)->type == TYPEMESSAGE && \
- (!mime_which_token((x)->subtype, -1) == MIME_RFC822) \
- || !mime_which_token((x)->subtype, -1) == MIME_NEWS))
+ ((!mime_which_token((x)->subtype, -1) == MIME_RFC822) \
+ || !mime_which_token((x)->subtype, -1) == MIME_NEWS)))
+
#define TYPE(X) ((X->type == TYPEOTHER) && (X->xtype != NULL) ? X->xtype : BodyTypes[(X->type)])
#define ENCODING(X) BodyEncodings[(X)]