Small fixes. Remove superflous log messages.

This commit is contained in:
lotodore
2009-03-22 18:57:23 +00:00
parent f2ec0b1ef4
commit 9243a6aa86
4 changed files with 7 additions and 9 deletions
+1
View File
@@ -45,6 +45,7 @@ DownloadHelper::InternalInit(const string &/*url*/, const string &targetFileName
throw NetException(__FILE__, __LINE__, ERR_SOCK_TRANSFER_OPEN_FAILED, 0);
// Assume that the following calls never fail.
// NOTE: A writefunction needs to be set if a DLL version of curl is used on Windows.
curl_easy_setopt(GetData()->curlHandle, CURLOPT_WRITEFUNCTION, NULL);
curl_easy_setopt(GetData()->curlHandle, CURLOPT_WRITEDATA, GetData()->targetFile);
}