summaryrefslogtreecommitdiff
path: root/lib/urlapi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-10 11:51:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-10 11:51:51 +0200
commit9637dbfffdb42f5478cf8c0afe337f559513a7fe (patch)
treede7d18d1356a055562ab40c87e17d20f342e1001 /lib/urlapi.c
parenteab3c580f955c571253ab0ebd062b5f8c8d2b82f (diff)
downloadcurl-9637dbfffdb42f5478cf8c0afe337f559513a7fe.tar.gz
urlapi: one colon is enough for the strspn() input (typo)
Diffstat (limited to 'lib/urlapi.c')
-rw-r--r--lib/urlapi.c2
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;