projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1d2c1
)
Fix 'longjmp causes uninitialized stack frame' in cURL
author
PilzAdam
<adam-k@outlook.com>
Wed, 26 Dec 2012 20:41:00 +0000
(21:41 +0100)
committer
PilzAdam
<adam-k@outlook.com>
Wed, 26 Dec 2012 20:41:00 +0000
(21:41 +0100)
src/client.cpp
patch
|
blob
|
history
diff --git
a/src/client.cpp
b/src/client.cpp
index c5d3b91c8dd3e8bc7dc6a998c159399fc5cf8fb1..cb7afe29f8fe8bc5ed0bc39e5d5dd95c07938c48 100644
(file)
--- a/
src/client.cpp
+++ b/
src/client.cpp
@@
-236,6
+236,7
@@
void * MediaFetchThread::Thread()
i != m_file_requests.end(); i++) {
curl = curl_easy_init();
assert(curl);
+ curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);
curl_easy_setopt(curl, CURLOPT_URL, (m_remote_url + i->name).c_str());
curl_easy_setopt(curl, CURLOPT_FAILONERROR, true);
std::ostringstream stream;