mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:17:18 +03:00
netrc: compare user name case sensitively
User name comparisions in netrc need to match the case. Closes #9657
This commit is contained in:
parent
ea3ce80fa8
commit
6d90308a39
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ static int parsenetrc(const char *host,
|
|||
/* we are now parsing sub-keywords concerning "our" host */
|
||||
if(state_login) {
|
||||
if(specific_login) {
|
||||
state_our_login = strcasecompare(login, tok);
|
||||
state_our_login = !strcmp(login, tok);
|
||||
}
|
||||
else if(!login || strcmp(login, tok)) {
|
||||
if(login_alloc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue