gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 211/220: urlapi: one colon is enough for the strspn


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 211/220: urlapi: one colon is enough for the strspn() input (typo)
Date: Thu, 12 Sep 2019 17:29:31 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 9637dbfffdb42f5478cf8c0afe337f559513a7fe
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Sep 10 11:51:51 2019 +0200

    urlapi: one colon is enough for the strspn() input (typo)
---
 lib/urlapi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]