X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d3bc59068db8bcc73c26ca70c5fdfb88eb1dd9d3..bf4e14adcab829c23f134253dea686789eb21d6a:/uip/aliasbr.c?ds=inline diff --git a/uip/aliasbr.c b/uip/aliasbr.c index 0c1c6ba8..ab2130ef 100644 --- a/uip/aliasbr.c +++ b/uip/aliasbr.c @@ -1,6 +1,4 @@ - -/* - * aliasbr.c -- new aliasing mechanism +/* aliasbr.c -- new aliasing mechanism * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -165,7 +163,7 @@ aleq (char *string, char *aliasent) while ((c = *string++)) { if (*aliasent == '*') return 1; - if ((c | 040) != (*aliasent | 040)) + if (tolower((unsigned char)c) != tolower((unsigned char)*aliasent)) return 0; aliasent++; }