summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/csup/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/csup/auth.c b/usr.bin/csup/auth.c
index 7a84aca..d690f9b 100644
--- a/usr.bin/csup/auth.c
+++ b/usr.bin/csup/auth.c
@@ -192,7 +192,7 @@ auth_lookuprecord(char *server, struct srvrecord *auth)
goto close;
}
/* Skip the rest of this line, it isn't what we are looking for. */
- if (strcmp(auth->server, server) != 0)
+ if (strcasecmp(auth->server, server) != 0)
continue;
error = auth_parsetoken(&line, auth->client,
sizeof(auth->client));
OpenPOWER on IntegriCloud