mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Masterserver mods announse, ipv6, better curl errors
This commit is contained in:
parent
fc6725f14e
commit
ac7a44792c
10 changed files with 77 additions and 42 deletions
|
@ -533,7 +533,7 @@ bool GUIEngine::downloadFile(std::string url,std::string target) {
|
|||
res = curl_easy_perform(curl);
|
||||
if (res != CURLE_OK) {
|
||||
errorstream << "File at url \"" << url
|
||||
<<"\" not found (internet connection?)" <<std::endl;
|
||||
<<"\" not found (" << curl_easy_strerror(res) << ")" <<std::endl;
|
||||
retval = false;
|
||||
}
|
||||
fclose(targetfile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue