One buildfix begets another buildfix
This commit is contained in:
parent
6b45c9e940
commit
c569aa93a6
|
@ -177,7 +177,7 @@ struct http_connection_t *net_http_connection_new(const char *url)
|
||||||
if (!conn->urlcopy)
|
if (!conn->urlcopy)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
strlcpy(conn->urlcopy, url, length));
|
strlcpy(conn->urlcopy, url, length);
|
||||||
|
|
||||||
if (strncmp(url, "http://", strlen("http://")) != 0)
|
if (strncmp(url, "http://", strlen("http://")) != 0)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Reference in New Issue