X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/81a21a9a97d8633f6d6231e31fdb6e328d0d3ff2..1524cb8c0b86a854149d7859d6a2503d61dbaa36:/uip/aliasbr.c diff --git a/uip/aliasbr.c b/uip/aliasbr.c index d0c193d7..af3827ba 100644 --- a/uip/aliasbr.c +++ b/uip/aliasbr.c @@ -47,9 +47,7 @@ static char *getalias (char *); static void add_aka (struct aka *, char *); static struct aka *akalloc (char *); static struct home *hmalloc (struct passwd *); -#ifndef MMDFMTS struct home *seek_home (char *); -#endif /* Do mh alias substitution on 's' and return the results. */ @@ -561,7 +559,6 @@ hmalloc (struct passwd *pw) } -#ifndef MMDFMTS struct home * seek_home (char *name) { @@ -577,7 +574,7 @@ seek_home (char *name) #endif /* DBMPWD */ for (hp = homehead; hp; hp = hp->h_next) - if (!strcasecmp (name, hp->h_name)) + if (!mh_strcasecmp (name, hp->h_name)) return hp; #ifdef DBMPWD @@ -598,4 +595,3 @@ seek_home (char *name) return NULL; } -#endif /* MMDFMTS */