pictureviewer.cpp: CPictureViewer::DownloadImage remove double add CURLOPT_NOSIGNA

Origin commit data
------------------
Commit: d58f621769
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-02-04 (Wed, 04 Feb 2015)
This commit is contained in:
Jacek Jendrzej
2015-02-04 15:52:40 +01:00
parent 2a86d6f32e
commit f3426c5dc0

View File

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