Renames: s/+outbox/+sent/ and s/cc:/Cc:/
[mmh] / uip / slocal.c
index 2e7c257..ac9225b 100644 (file)
@@ -158,7 +158,7 @@ static struct pair hdrs[NVEC + 1] = {
        { "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 }
 };
 
@@ -214,7 +214,7 @@ main(int argc, char **argv)
 #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)
@@ -792,7 +792,7 @@ parse(int fd)
                        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);
@@ -1586,7 +1586,7 @@ suppress_duplicates(int fd, char *file)
                                        continue;
                                }
 
-                               cp = add(buf, NULL);
+                               cp = getcpy(buf);
                                while (state == FLDPLUS) {
                                        state = m_getfld(state, name, buf, sizeof(buf), in);
                                        cp = add(buf, cp);