One buildfix begets another buildfix

This commit is contained in:
twinaphex 2015-09-19 13:13:31 +02:00
parent 6b45c9e940
commit c569aa93a6

View File

@ -177,7 +177,7 @@ struct http_connection_t *net_http_connection_new(const char *url)
if (!conn->urlcopy)
goto error;
strlcpy(conn->urlcopy, url, length));
strlcpy(conn->urlcopy, url, length);
if (strncmp(url, "http://", strlen("http://")) != 0)
goto error;