X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-mime%2Frfc2231.c;h=bf05bef9b8400dfaa6b4258da34a4d79b77b1d89;hp=e7c10533e40bb0367a0641de209641d673c37928;hb=2293e9bc5a94ef33dc596b064c607d6bed5ad1fd;hpb=3a3420a4cb3369d51eecc9287d556596f98e7314 diff --git a/lib-mime/rfc2231.c b/lib-mime/rfc2231.c index e7c1053..bf05bef 100644 --- a/lib-mime/rfc2231.c +++ b/lib-mime/rfc2231.c @@ -47,6 +47,7 @@ #include #include "charset.h" +#include "mutt.h" typedef struct rfc2231_param { struct rfc2231_param *next; @@ -141,7 +142,7 @@ static void purge_empty_parameters(PARAMETER **headp) if (!p->attribute || !p->value) { *headp = p->next; p->next = NULL; - parameter_delete(&p); + parameter_list_wipe(&p); } else { headp = &(*headp)->next; }