X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhparam.c;h=80b52a18112de28767898e67a233fb9328979bb6;hp=5e5e006b913882f3a58023fc4cdf6aec8755d921;hb=5d43a99db70c12a673028c7758c20cbe3e13ef5f;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68 diff --git a/uip/mhparam.c b/uip/mhparam.c index 5e5e006..80b52a1 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -5,8 +5,6 @@ * Originally contributed by * Jeffrey C Honig * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -17,7 +15,6 @@ extern char *mhlibdir; extern char *mhetcdir; -char *sbackup = BACKUP_PREFIX; char *slink = LINK; static struct swit switches[] = { @@ -45,6 +42,7 @@ static struct proc procs [] = { { "context", &context }, { "mh-sequences", &mh_seq }, { "buildmimeproc", &buildmimeproc }, + { "editor", &defaulteditor }, { "faceproc", &faceproc }, { "fileproc", &fileproc }, { "foldprot", &foldprot }, @@ -60,6 +58,7 @@ static struct proc procs [] = { { "postproc", &postproc }, { "rmfproc", &rmfproc }, { "rmmproc", &rmmproc }, + { "sendmail", &sendmail }, { "sendproc", &sendproc }, { "showmimeproc", &showmimeproc }, { "showproc", &showproc }, @@ -69,7 +68,7 @@ static struct proc procs [] = { { "whomproc", &whomproc }, { "etcdir", &mhetcdir }, { "libdir", &mhlibdir }, - { "sbackup", &sbackup }, + { "backup-prefix", &backup_prefix }, { "link", &slink }, { NULL, NULL }, }; @@ -150,7 +149,7 @@ main(int argc, char **argv) for (np = m_defs; np; np = np->n_next) printf("%s: %s\n", np->n_name, np->n_field); - } if (debug) { + } else if (debug) { struct proc *ps; /* @@ -181,7 +180,8 @@ main(int argc, char **argv) } } - return done (missed); + done (missed); + return 1; } @@ -191,7 +191,7 @@ p_find(char *str) struct proc *ps; for (ps = procs; ps->p_name; ps++) - if (!strcasecmp (ps->p_name, str)) + if (!mh_strcasecmp (ps->p_name, str)) return (*ps->p_field); return NULL;