mirror of
https://github.com/mirror/wget.git
synced 2025-03-25 01:00:13 +08:00
* src/url.c (url_scheme): Use ASCII version of strncasecmp
This commit is contained in:
parent
5fb6b6bd68
commit
3ad3b3e36c
@ -459,7 +459,7 @@ url_scheme (const char *url)
|
||||
int i;
|
||||
|
||||
for (i = 0; supported_schemes[i].leading_string; i++)
|
||||
if (0 == strncasecmp (url, supported_schemes[i].leading_string,
|
||||
if (0 == c_strncasecmp (url, supported_schemes[i].leading_string,
|
||||
strlen (supported_schemes[i].leading_string)))
|
||||
{
|
||||
if (!(supported_schemes[i].flags & scm_disabled))
|
||||
|
Loading…
Reference in New Issue
Block a user