tags 423817 +patch
thank you very much indeed

The variable CURLOPT_SOURCE_USERPWD is not needed. It's only cited once
in the whole source tree (in download-curl.cpp:233) and the package
builds and runs. The patch is attached (yay! just a comment...) but it
might be good that you test it before actually putting it in the package.

--- nepenthes-0.1.7.orig/modules/download-curl/download-curl.cpp
+++ nepenthes-0.1.7/modules/download-curl/download-curl.cpp
@@ -230,7 +230,7 @@
                                 down->getDownloadUrl()->getPort(),
                                 down->getDownloadUrl()->getPath().c_str());
 //        string auth = down->getDownloadUrl()->getUser() + ":" +
down->getDownloadUrl()->getPass();
-               curl_easy_setopt(pCurlHandle,
CURLOPT_SOURCE_USERPWD,(char *)down->getDownloadUrl()->getAuth().c_str());
+//             curl_easy_setopt(pCurlHandle,
CURLOPT_SOURCE_USERPWD,(char *)down->getDownloadUrl()->getAuth().c_str());
                curl_easy_setopt(pCurlHandle, CURLOPT_USERPWD,(char
*)down->getDownloadUrl()->getAuth().c_str());
                curl_easy_setopt(pCurlHandle, CURLOPT_URL
        , url);
                curl_easy_setopt(pCurlHandle,
CURLOPT_FTP_RESPONSE_TIMEOUT, 120);       // 2 min ftp timeout


Thank you very much for your time and contribution,
Jose


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to