summaryrefslogtreecommitdiff
path: root/debian/patches/13_curl.diff
blob: 8590f0d061f8e081e6b8d4aea44fd104a09dcd6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: CrossWire Packaging Team <pkg-crosswire-devel@alioth-lists.debian.net>
Date: Thu, 1 Nov 2018 10:27:07 +0100
Subject: _curl

revno: 2452
svn revno: 2506 (on /trunk)
committer: scribe
timestamp: Sat 2010-03-20 11:49:54 +0000
message:
  applied Karl's patch to fix libcurl problem with status reporter data.
svn revno: 2506 (on /trunk)
committer: scribe
timestamp: Sat 2010-03-20 11:49:54 +0000
message:
  applied Karl's patch to fix libcurl problem with status reporter data.
---
 src/mgr/curlftpt.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mgr/curlftpt.cpp b/src/mgr/curlftpt.cpp
index b287405..1bc9eaa 100644
--- a/src/mgr/curlftpt.cpp
+++ b/src/mgr/curlftpt.cpp
@@ -186,6 +186,9 @@ char CURLFTPTransport::getURL(const char *destPath, const char *sourceURL, SWBuf
 		// 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);
 
+		// 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;
 		}