mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:03:39 +03:00
Created Curl_raw_nequal() which does a C-locale string case comparison.
Changed checkprefix() to use it and those instances of strnequal() that compare host names or other protocol strings that are defined to be independent of case in the C locale. This should fix a few more Turkish locale problems.
This commit is contained in:
parent
0abaf22467
commit
bab5183820
10 changed files with 38 additions and 24 deletions
|
|
@ -3337,7 +3337,7 @@ static char *detect_proxy(struct connectdata *conn)
|
|||
if(!no_proxy)
|
||||
no_proxy=curl_getenv("NO_PROXY");
|
||||
|
||||
if(!no_proxy || !strequal("*", no_proxy)) {
|
||||
if(!no_proxy || !Curl_raw_equal("*", no_proxy)) {
|
||||
/* NO_PROXY wasn't specified or it wasn't just an asterisk */
|
||||
char *nope;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue