mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
urlapi: one colon is enough for the strspn() input (typo)
This commit is contained in:
parent
eab3c580f9
commit
9637dbfffd
@ -597,7 +597,7 @@ static CURLUcode hostname_check(struct Curl_URL *u, char *hostname)
|
||||
|
||||
if(hostname[0] == '[') {
|
||||
char dest[16]; /* fits a binary IPv6 address */
|
||||
const char *l = "0123456789abcdefABCDEF::.";
|
||||
const char *l = "0123456789abcdefABCDEF:.";
|
||||
hostname++;
|
||||
hlen -= 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user