Merge pull request #1683 from msolters/patch-1

Fix IPv6 HTTP URL parsing
This commit is contained in:
Antonio Lignan 2016-06-04 07:59:50 +02:00
commit 9dc1e57c85

View file

@ -324,6 +324,7 @@ parse_url(const char *url, char *host, uint16_t *portptr, char *path)
if(host != NULL) { if(host != NULL) {
host[i] = 0; host[i] = 0;
} }
urlptr++;
break; break;
} }
if(host != NULL) { if(host != NULL) {