X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=aca2845fa64086aec36d5713cd2e62697f8e25f1;hp=a9f329890a96dcbb3f82d9b5f1016f6c66a7fd92;hb=45980bfb6afb38d3c1cb70c889cc37b22b8c533b;hpb=b8c71f93b0296f815a6538182343ba67e88c0012 diff --git a/commands.c b/commands.c index a9f3298..aca2845 100644 --- a/commands.c +++ b/commands.c @@ -28,7 +28,7 @@ #include "copy.h" #include "mx.h" #include "pager.h" -#include "mutt_crypt.h" +#include #include "mutt_idna.h" #include "rfc1524.h" #include @@ -854,7 +854,7 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) return; /* clean up previous junk */ - mutt_free_parameter (&b->parameter); + parameter_delete(&b->parameter); p_delete(&b->subtype); mutt_parse_content_type (buf, b); @@ -891,14 +891,14 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) 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; - mutt_free_header (&b->hdr); + 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) {