Skip to content
Snippets Groups Projects
Commit 896e1a30 authored by PilzAdam's avatar PilzAdam
Browse files

Fix 'longjmp causes uninitialized stack frame' in cURL

parent 0f1d2c12
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment