summaryrefslogtreecommitdiff
path: root/community/sword/curl_7.20.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/sword/curl_7.20.patch')
-rw-r--r--community/sword/curl_7.20.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/sword/curl_7.20.patch b/community/sword/curl_7.20.patch
new file mode 100644
index 000000000..88763188d
--- /dev/null
+++ b/community/sword/curl_7.20.patch
@@ -0,0 +1,12 @@
+--- src/mgr/curlftpt.cpp (revision 2505)
++++ src/mgr/curlftpt.cpp (revision 2506)
+@@ -177,6 +177,9 @@
+ res = curl_easy_perform(session);
+ SWLog::getSystemLog()->logDebug("***** Finished performing curl easy action. \n");
+
++ // it seems CURL tries to use this option data later for some reason, so we unset here
++ curl_easy_setopt(session, CURLOPT_PROGRESSDATA, (void*)NULL);
++
+ if(CURLE_OK != res) {
+ retVal = -1;
+ }