* uip/mhlistsbr.c, uip/mhlsbr.c, uip/picksbr.c: cast
[mmh] / uip / mhparam.c
index 1da25d3..f9f78c3 100644 (file)
@@ -6,6 +6,10 @@
  * Jeffrey C Honig <Jeffrey_C_Honig@cornell.edu>
  *
  * $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 <h/mh.h>
@@ -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 }
@@ -178,6 +182,7 @@ main(int argc, char **argv)
     }
     
     done (missed);
+    return 1;
 }
 
 
@@ -187,7 +192,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;