summaryrefslogtreecommitdiff
path: root/server/uloc.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1989-12-13 05:29:46 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1989-12-13 05:29:46 +0000
commitb85d33b022bc3875841de1d72267bab69222b935 (patch)
treeba34a224c370ae1ebcadd8e11eb60a64f56369d1 /server/uloc.c
parent46581d897c42d7d267b50dc0a29c496c96afd692 (diff)
machine names are case insensitive
Diffstat (limited to 'server/uloc.c')
-rw-r--r--server/uloc.c6
1 files changed, 3 insertions, 3 deletions
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 <zephyr/mit-copyright.h>
#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;