mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
strcase: use curl_str(n)equal for case insensitive matches
No point in having two entry points for the same functions. Also merged the *safe* function treatment into these so that they can also be used when one or both pointers are NULL. Closes #9837
This commit is contained in:
parent
7399fa5b05
commit
3f039dfd6f
7 changed files with 36 additions and 47 deletions
|
|
@ -933,7 +933,7 @@ proxy_info_matches(const struct proxy_info *data,
|
|||
{
|
||||
if((data->proxytype == needle->proxytype) &&
|
||||
(data->port == needle->port) &&
|
||||
Curl_safe_strcasecompare(data->host.name, needle->host.name))
|
||||
strcasecompare(data->host.name, needle->host.name))
|
||||
return TRUE;
|
||||
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue