X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparam.c;h=0b60b03291bad25d0ca0618de19b09fe7e425f6b;hb=63298d0f1870b5df16ac8664494e5a24b224dfc5;hp=1da25d312a7e505ef57bad4974f03d56d15abd88;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/uip/mhparam.c b/uip/mhparam.c index 1da25d3..0b60b03 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -6,6 +6,10 @@ * 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. */ #include @@ -26,7 +30,7 @@ static struct swit switches[] = { #define VERSIONSW 3 { "version", 0 }, #define HELPSW 4 - { "help", 4 }, + { "help", 0 }, #define DEBUGSW 5 { "debug", -5 }, { NULL, 0 } @@ -177,7 +181,7 @@ main(int argc, char **argv) } } - done (missed); + return done (missed); } @@ -187,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;