mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
pictureviewer.cpp: CPictureViewer::DownloadImage remove double add CURLOPT_NOSIGNA
This commit is contained in:
@@ -120,7 +120,6 @@ std::string CPictureViewer::DownloadImage(std::string url)
|
||||
curl_easy_setopt(ch, CURLOPT_WRITEDATA, tmpFile);
|
||||
curl_easy_setopt(ch, CURLOPT_FAILONERROR, 1L);
|
||||
curl_easy_setopt(ch, CURLOPT_URL, url.c_str());
|
||||
curl_easy_setopt(ch, CURLOPT_NOSIGNAL,1);
|
||||
curl_easy_setopt(ch, CURLOPT_CONNECTTIMEOUT, 3);
|
||||
curl_easy_setopt(ch, CURLOPT_TIMEOUT, 4);
|
||||
CURLcode res = curl_easy_perform(ch);
|
||||
|
Reference in New Issue
Block a user