X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fslocal.c;h=ac9225b14886bf346f0768bada930c3be8f5cb20;hb=fd00a3b030ab9d854eac79641f7bf25e6538acc1;hp=2e7c257c7b7979c6c4af6eee4f8f4287777cace3;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/uip/slocal.c b/uip/slocal.c index 2e7c257..ac9225b 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -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);