Fix compilation warnings in mutt_idna.c
[apps/madmutt.git] / commands.c
index 83604ca..34de35e 100644 (file)
@@ -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);
@@ -895,7 +895,7 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp)
     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)))