summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mgr/curlftpt.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}