urlapi: one colon is enough for the strspn() input (typo)

This commit is contained in:
Daniel Stenberg 2019-09-10 11:51:51 +02:00
parent eab3c580f9
commit 9637dbfffd
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -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;