From: Harry Sintonen Date: Sun, 2 May 2021 21:13:41 +0000 (+0300) Subject: krb5/name_to_level: replace checkprefix with curl_strequal X-Git-Tag: curl-7_77_0~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5af7a48668ae5364ca0c1b495da603cef64b59d9;p=thirdparty%2Fcurl.git krb5/name_to_level: replace checkprefix with curl_strequal Closes #6993 --- diff --git a/lib/krb5.c b/lib/krb5.c index fe07d5267e..4d1102da36 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; }