* (mh_strcasecmp): Rename the private strcasecmp function to mh_strcasecmp.
[mmh] / uip / ali.c
index d03d717..bbc6f6d 100644 (file)
--- a/uip/ali.c
+++ b/uip/ali.c
@@ -3,12 +3,17 @@
  * ali.c -- list nmh mail aliases
  *
  * $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>
 #include <h/addrsbr.h>
 #include <h/aliasbr.h>
-#include <zotnet/mts/mts.h>
+#include <h/mts.h>
+#include <h/utils.h>
 
 /*
  * maximum number of names
@@ -35,7 +40,7 @@ static struct swit switches[] = {
 #define VERSIONSW             8
     { "version", 0 },
 #define        HELPSW                9
-    { "help", 4 },
+    { "help", 0 },
     { NULL, 0 }
 };
 
@@ -228,8 +233,8 @@ print_usr (char *s, int list, int norm)
        while ((cp = getname (pp))) {
            if ((np = getm (cp, NULL, 0, norm, NULL)) == NULL)
                continue;
-           if (!strcasecmp (mp->m_host, np->m_host)
-                   && !strcasecmp (mp->m_mbox, np->m_mbox)) {
+           if (!mh_strcasecmp (mp->m_host, np->m_host)
+                   && !mh_strcasecmp (mp->m_mbox, np->m_mbox)) {
                vp = vp ? add (ak->ak_name, add (",", vp))
                    : getcpy (ak->ak_name);
                mnfree (np);