From b85d33b022bc3875841de1d72267bab69222b935 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 13 Dec 1989 05:29:46 +0000 Subject: machine names are case insensitive --- server/uloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/uloc.c') diff --git a/server/uloc.c b/server/uloc.c index c3d4fc0..950a55e 100644 --- a/server/uloc.c +++ b/server/uloc.c @@ -14,7 +14,7 @@ #include #ifndef lint -static char rcsid_uloc_c[] = "$Header$"; +static char rcsid_uloc_c[] = "$Id$"; #endif lint #include "zserver.h" @@ -895,7 +895,7 @@ static int ul_equiv(l1, l2) register ZLocation_t *l1, *l2; { - if (strcmp(l1->zlt_machine, l2->zlt_machine)) + if (strcasecmp(l1->zlt_machine, l2->zlt_machine)) return(0); if (strcmp(l1->zlt_tty, l2->zlt_tty)) return(0); @@ -1099,7 +1099,7 @@ exposure_type exposure; !strcmp(locations[idx].zlt_user, loc2.zlt_user)) { /* change exposure and owner for each loc on that host */ - if (!strcmp(locations[idx].zlt_machine, loc2.zlt_machine)) { + if (!strcasecmp(locations[idx].zlt_machine, loc2.zlt_machine)) { notfound = 0; locations[idx].zlt_exposure = exposure; locations[idx].zlt_port = notice->z_port; -- cgit v1.2.3