diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:04 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:04 -0400 |
commit | b745315323de9f27538edac9453205ca70e6186e (patch) | |
tree | e804cd15cf894a2a14aab6c5224bc242273dc3ba /src/mgr/curlftpt.cpp | |
parent | 936d9e8484ff73282c8c0a277310d1ffdde86e10 (diff) |
Imported Upstream version 1.6.2+dfsg
Diffstat (limited to 'src/mgr/curlftpt.cpp')
-rw-r--r-- | src/mgr/curlftpt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mgr/curlftpt.cpp b/src/mgr/curlftpt.cpp index 0f7231a..7d2fd3c 100644 --- a/src/mgr/curlftpt.cpp +++ b/src/mgr/curlftpt.cpp @@ -177,6 +177,9 @@ char CURLFTPTransport::getURL(const char *destPath, const char *sourceURL, SWBuf 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; } |