mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove ugly curl struct pointer from jsonFetchValue signature
This commit is contained in:
parent
9a39848ba9
commit
8af44f8163
6 changed files with 25 additions and 39 deletions
|
@ -70,7 +70,7 @@ std::vector<ServerListSpec> getLocal()
|
|||
|
||||
std::vector<ServerListSpec> getOnline()
|
||||
{
|
||||
Json::Value root = fetchJsonValue((g_settings->get("serverlist_url")+"/list").c_str(),0);
|
||||
Json::Value root = fetchJsonValue((g_settings->get("serverlist_url")+"/list").c_str(), NULL);
|
||||
|
||||
std::vector<ServerListSpec> serverlist;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue