summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-09-21 15:17:22 +0000
committerTim Angus <tim@ngus.net>2013-01-10 23:38:28 +0000
commite89e23a8b29e3d2205d2bf8c7c38de93542a47e6 (patch)
tree6fd56ed01e39037880a7867330d79eea282259d7 /src/client
parent6be11f99f694532d2c8aaee21e26851d1361e2b8 (diff)
Bug 5238 - cURL wrong use of curl_easy_setopt property, by Adrian Fuhrmann
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_curl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c
index bc64ba75..70cc7d08 100644
--- a/src/client/cl_curl.c
+++ b/src/client/cl_curl.c
@@ -245,7 +245,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);