mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +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
|
@ -59,7 +59,7 @@ Json::Value fetchJsonValue(const std::string url,
|
|||
|
||||
res = curl_easy_perform(curl);
|
||||
if (res != CURLE_OK)
|
||||
errorstream<<"Jsonreader: "<< url <<" not found (internet connection?)"<<std::endl;
|
||||
errorstream<<"Jsonreader: "<< url <<" not found (" << curl_easy_strerror(res) << ")" <<std::endl;
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue