#endif
#include "mutt.h"
+#include "ascii.h"
#include "mapping.h"
#include "url.h"
mutt_parse_rfc822_line (e, NULL, scratch, value, 1, 0, 0, &last);
/* if $strict_mailto is set, force editing headers to let
* users have a look at what we got */
- if (!option (OPTSTRICTMAILTO))
+ if (!option (OPTSTRICTMAILTO)) {
+ set_option (OPTXMAILTO);
set_option (OPTEDITHDRS);
+ }
}
}
- FREE (&tmp);
+ mem_free (&tmp);
return 0;
}