summaryrefslogtreecommitdiff
path: root/network/uget/curlopt_nosignal.diff
diff options
context:
space:
mode:
Diffstat (limited to 'network/uget/curlopt_nosignal.diff')
-rw-r--r--network/uget/curlopt_nosignal.diff22
1 files changed, 11 insertions, 11 deletions
diff --git a/network/uget/curlopt_nosignal.diff b/network/uget/curlopt_nosignal.diff
index 022c763144..5310970fdb 100644
--- a/network/uget/curlopt_nosignal.diff
+++ b/network/uget/curlopt_nosignal.diff
@@ -1,11 +1,11 @@
-diff -Naur uget-1.6.4/uglib/UgPlugin-curl.c uget-1.6.4.patched//uglib/UgPlugin-curl.c
---- uget-1.6.4/uglib/UgPlugin-curl.c 2011-03-27 22:10:11.000000000 -0400
-+++ uget-1.6.4.patched//uglib/UgPlugin-curl.c 2011-05-21 16:45:24.000000000 -0400
-@@ -280,6 +280,7 @@
- curl_code = CURLE_FAILED_INIT;
-
- // Common option ----------------------------------------------------------
-+ curl_easy_setopt (curl, CURLOPT_NOSIGNAL , 1);
- curl_easy_setopt (curl, CURLOPT_URL, common->url);
- // setup scheme and it's related data (user & password)
- ug_plugin_curl_set_scheme (plugin, curl);
+diff -Naur uget-1.8.0/uglib/UgXmlrpc.c uget-1.8.0.patched//uglib/UgXmlrpc.c
+--- uget-1.8.0/uglib/UgXmlrpc.c 2011-04-28 21:34:25.000000000 -0400
++++ uget-1.8.0.patched//uglib/UgXmlrpc.c 2012-01-02 15:00:39.000000000 -0500
+@@ -111,6 +111,7 @@
+ xmlrpc->user_agent = g_strdup (user_agent ? user_agent : "uGet/1.7");
+
+ curl_easy_setopt (xmlrpc->curl, CURLOPT_URL, xmlrpc->uri);
++ curl_easy_setopt (xmlrpc->curl, CURLOPT_NOSIGNAL , 1);
+ curl_easy_setopt (xmlrpc->curl, CURLOPT_USERAGENT, xmlrpc->user_agent);
+ }
+