summaryrefslogtreecommitdiff
path: root/lib/krb5.c
diff options
context:
space:
mode:
authorHarry Sintonen <sintonen@iki.fi>2021-05-03 00:13:41 +0300
committerDaniel Stenberg <daniel@haxx.se>2021-05-03 16:35:27 +0200
commit5af7a48668ae5364ca0c1b495da603cef64b59d9 (patch)
tree8337736244aafa5b4d203482c3110cf537fee1d3 /lib/krb5.c
parent6201f5c6995bcacbaf0104f4b537f7d926314f67 (diff)
downloadcurl-5af7a48668ae5364ca0c1b495da603cef64b59d9.tar.gz
krb5/name_to_level: replace checkprefix with curl_strequal
Closes #6993
Diffstat (limited to 'lib/krb5.c')
-rw-r--r--lib/krb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5.c b/lib/krb5.c
index fe07d5267..4d1102da3 100644
--- a/lib/krb5.c
+++ b/lib/krb5.c
@@ -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;
}