diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-10 11:51:51 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-10 11:51:51 +0200 |
commit | 9637dbfffdb42f5478cf8c0afe337f559513a7fe (patch) | |
tree | de7d18d1356a055562ab40c87e17d20f342e1001 | |
parent | eab3c580f955c571253ab0ebd062b5f8c8d2b82f (diff) |
urlapi: one colon is enough for the strspn() input (typo)
-rw-r--r-- | lib/urlapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urlapi.c b/lib/urlapi.c index 03efccd7b..a0ee331da 100644 --- a/lib/urlapi.c +++ b/lib/urlapi.c @@ -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; |