Fix 'longjmp causes uninitialized stack frame' in cURL

This commit is contained in:
PilzAdam 2012-12-26 21:41:00 +01:00
parent 0f1d2c127c
commit 896e1a30b0

@ -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;