X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fali.c;h=bbc6f6dd5a84dbfee28f5b55aa5b37ea48f800e4;hb=2f9092c19632024cc7c868612b82c603b7db534f;hp=54c8b05a00eaf63c1b53c56b6be21d418dc5a330;hpb=f3897a21dafb3e2219520a45052b2618620910c4;p=mmh diff --git a/uip/ali.c b/uip/ali.c index 54c8b05..bbc6f6d 100644 --- a/uip/ali.c +++ b/uip/ali.c @@ -3,11 +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 #include #include +#include +#include /* * maximum number of names @@ -34,7 +40,7 @@ static struct swit switches[] = { #define VERSIONSW 8 { "version", 0 }, #define HELPSW 9 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -227,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);