X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhparam.c;h=d9ba2a379161769cd634d7d012e46286142ef4ec;hp=575c7a7a8a1ef8dda45a0375809a6b9a645b97cd;hb=fd00a3b030ab9d854eac79641f7bf25e6538acc1;hpb=714b5c530ece27ea2835a313013f5b770163403c diff --git a/uip/mhparam.c b/uip/mhparam.c index 575c7a7..d9ba2a3 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -12,7 +12,6 @@ #include extern char *mhlibdir; -extern char *mhetcdir; static struct swit switches[] = { #define COMPSW 0 @@ -44,15 +43,12 @@ static struct proc procs [] = { { "fileproc", &fileproc }, { "foldprot", &foldprot }, { "incproc", &incproc }, - { "installproc", &installproc }, { "lproc", &lproc }, { "mailproc", &mailproc }, { "mhlproc", &mhlproc }, { "moreproc", &moreproc }, { "msgprot", &msgprot }, - { "packproc", &packproc }, { "postproc", &postproc }, - { "rmfproc", &rmfproc }, { "rmmproc", &rmmproc }, { "sendmail", &sendmail }, { "sendproc", &sendproc }, @@ -84,7 +80,7 @@ main(int argc, char **argv) char *cp, buf[BUFSIZ], **argp; char **arguments, *comps[MAXARGS]; - invo_name = r1bindex(argv[0], '/'); + invo_name = mhbasename(argv[0]); /* read user profile/context */ context_read();