mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 00:28:48 -05:00
krb5/name_to_level: replace checkprefix with curl_strequal
Closes #6993
This commit is contained in:
parent
6201f5c699
commit
5af7a48668
@ -402,7 +402,7 @@ name_to_level(const char *name)
|
||||
{
|
||||
int i;
|
||||
for(i = 0; i < (int)sizeof(level_names)/(int)sizeof(level_names[0]); i++)
|
||||
if(checkprefix(name, level_names[i].name))
|
||||
if(curl_strequal(name, level_names[i].name))
|
||||
return level_names[i].level;
|
||||
return PROT_NONE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user