projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
066b031
)
Fix "longjmp causes uninitialized stack frame" (serverlist.cpp)
author
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Fri, 1 Mar 2013 13:01:23 +0000
(17:01 +0400)
committer
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Fri, 1 Mar 2013 13:02:54 +0000
(17:02 +0400)
src/serverlist.cpp
patch
|
blob
|
history
diff --git
a/src/serverlist.cpp
b/src/serverlist.cpp
index b5e6aad4e979f5f6063854564f56beb180d54959..d37b5d6371fed45689699d5384e83c601913eef8 100644
(file)
--- a/
src/serverlist.cpp
+++ b/
src/serverlist.cpp
@@
-84,6
+84,7
@@
std::vector<ServerListSpec> 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);