From fceb465fc9d401aeba901dd59c937a9239bcbb7a Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Fri, 1 Mar 2013 17:01:23 +0400 Subject: [PATCH] Fix "longjmp causes uninitialized stack frame" (serverlist.cpp) --- src/serverlist.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2