{ "Resent-From", NULL, P_ADR },
{ "Resent-Sender", NULL, P_ADR },
{ "Resent-To", NULL, P_ADR },
- { "Resent-cc", NULL, P_ADR },
+ { "Resent-Cc", NULL, P_ADR },
{ NULL, NULL, 0 }
};
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(*argv, '/');
+ invo_name = mhbasename(*argv);
/* foil search of user profile/context */
if (context_foil(NULL) == -1)
case FLD:
case FLDEOF:
case FLDPLUS:
- lp = add(field, NULL);
+ lp = getcpy(field);
while (state == FLDPLUS) {
state = m_getfld(state, name, field,
sizeof(field), in);
continue;
}
- cp = add(buf, NULL);
+ cp = getcpy(buf);
while (state == FLDPLUS) {
state = m_getfld(state, name, buf, sizeof(buf), in);
cp = add(buf, cp);