Signed-off-by: Felix Fietkau <nbd@openwrt.org>
{
const struct uclient_backend *backend = cl->backend;
struct uclient_url *url;
{
const struct uclient_backend *backend = cl->backend;
struct uclient_url *url;
int host_len;
char *next, *host;
int host_len;
char *next, *host;
return -1;
host = next + 3;
return -1;
host = next + 3;
- location = uclient_split_host(host, &host_len);
+ uclient_split_host(host, &host_len);
url = __uclient_get_url(NULL, host, host_len, url_str, auth_str);
if (!url)
url = __uclient_get_url(NULL, host, host_len, url_str, auth_str);
if (!url)