1
0
Fork 0
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:
sapier 2014-06-19 20:58:22 +02:00
parent 9a39848ba9
commit 8af44f8163
6 changed files with 25 additions and 39 deletions

View file

@ -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;