From f3426c5dc0ab9eec4e339b38a9aff2c9eef94b9b Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Wed, 4 Feb 2015 15:52:40 +0100 Subject: [PATCH] pictureviewer.cpp: CPictureViewer::DownloadImage remove double add CURLOPT_NOSIGNA Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d58f62176974eefc6237510a38f9331d4bfa414d Author: Jacek Jendrzej Date: 2015-02-04 (Wed, 04 Feb 2015) --- src/driver/pictureviewer/pictureviewer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/driver/pictureviewer/pictureviewer.cpp b/src/driver/pictureviewer/pictureviewer.cpp index aab815c70..3f73ae03e 100644 --- a/src/driver/pictureviewer/pictureviewer.cpp +++ b/src/driver/pictureviewer/pictureviewer.cpp @@ -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);