From 7a1f2bc92b7dfb40d6045f7d974981a65b14941a Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 21 Sep 2011 15:17:22 +0000 Subject: [PATCH] Bug 5238 - cURL wrong use of curl_easy_setopt property, by Adrian Fuhrmann --- code/client/cl_curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_curl.c b/code/client/cl_curl.c index d168c412..3debd6ed 100644 --- a/code/client/cl_curl.c +++ b/code/client/cl_curl.c @@ -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);