Fix download fail when cache is disabled

This commit is contained in:
Tindy X
2020-06-23 00:00:35 +08:00
parent 34b19507db
commit c873a25fea

View File

@@ -228,7 +228,7 @@ std::string webGet(const std::string &url, const std::string &proxy, unsigned in
return content;
}
//return curlGet(url, proxy, response_headers, return_code);
content = curlGet(argument, fetch_res);
curlGet(argument, fetch_res);
return content;
}