From: Ilya Zhuravlev Date: Fri, 1 Mar 2013 13:01:23 +0000 (+0400) Subject: Fix "longjmp causes uninitialized stack frame" (serverlist.cpp) X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=fceb465fc9d401aeba901dd59c937a9239bcbb7a;p=zefram%2Fminetest%2Fminetest_engine.git Fix "longjmp causes uninitialized stack frame" (serverlist.cpp) --- diff --git a/src/serverlist.cpp b/src/serverlist.cpp index b5e6aad4..d37b5d63 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -84,6 +84,7 @@ std::vector getOnline() { CURLcode res; + curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(curl, CURLOPT_URL, (g_settings->get("serverlist_url")+"/list").c_str()); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, ServerList::WriteCallback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &liststring);