Bug 5238 - cURL wrong use of curl_easy_setopt property, by Adrian Fuhrmann

This commit is contained in:
Thilo Schulz 2011-09-21 15:17:22 +00:00
parent 3f79d04536
commit 7a1f2bc92b

View file

@ -244,7 +244,7 @@ void CL_cURL_BeginDownload( const char *localName, const char *remoteURL )
"%s for writing", clc.downloadTempName);
return;
}
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_WRITEDATA, clc.download);
if(com_developer->integer)
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_VERBOSE, 1);
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_URL, clc.downloadURL);