Fix csup to allow case insensitive server names in the auth file,
just as advertised in the manpage. PR: 158652 Submitted by: stephen Approved by: re (kib) MFC after: 1 week
This commit is contained in:
parent
e50e74d8aa
commit
51ad0033d6
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user