mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Remove ugly curl struct pointer from jsonFetchValue signature
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user