From e89e23a8b29e3d2205d2bf8c7c38de93542a47e6 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 21 Sep 2011 15:17:22 +0000 Subject: Bug 5238 - cURL wrong use of curl_easy_setopt property, by Adrian Fuhrmann --- src/client/cl_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') 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); -- cgit