From: CrossWire Packaging Team 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; }