*
* This code is Copyright (c) 2002 and 2013, by the authors of nmh.
* See the COPYRIGHT file in the root directory of the nmh
*
* This code is Copyright (c) 2002 and 2013, by the authors of nmh.
* See the COPYRIGHT file in the root directory of the nmh
char *
remove_parameter (char *str, const char *name) {
/* It looks to me, based on the BNF in RFC 2045, than there can't
char *
remove_parameter (char *str, const char *name) {
/* It looks to me, based on the BNF in RFC 2045, than there can't
between the "=" and the parameter value. */
char *param_name = concat (name, "=", NULL);
char *cp;
between the "=" and the parameter value. */
char *param_name = concat (name, "=", NULL);
char *cp;
multipart/alternative. */
remove_parameter (hf->value, "type");
break;
multipart/alternative. */
remove_parameter (hf->value, "type");
break;