From: Ilya Zhuravlev Date: Sat, 2 Mar 2013 20:02:00 +0000 (+0400) Subject: Add one more curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=5917e862977518b80cb7a2a4b9dfbeda59c3656b;p=zefram%2Fminetest%2Fminetest_engine.git Add one more curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); --- diff --git a/src/serverlist.cpp b/src/serverlist.cpp index d37b5d63..3dfc79f5 100644 --- a/src/serverlist.cpp +++ b/src/serverlist.cpp @@ -259,6 +259,7 @@ void sendAnnounce(std::string action, u16 clients) { if (curl) { CURLcode res; + curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(curl, CURLOPT_URL, (g_settings->get("serverlist_url")+std::string("/announce?json=")+curl_easy_escape(curl, writer.write( server ).c_str(), 0)).c_str()); //curl_easy_setopt(curl, CURLOPT_USERAGENT, "minetest"); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, ServerList::ServerAnnounceCallback);