Bug 5238 - cURL wrong use of curl_easy_setopt property
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: All All
: P3 trivial
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2011-09-20 14:31 EDT by Adrian Fuhrmann
Modified: 2011-09-21 11:19:32 EDT
1 user (show)

See Also:



Description Adrian Fuhrmann 2011-09-20 14:31:23 EDT
in client/cl_curl.c @ Line 247:
	qcurl_easy_setopt(clc.downloadCURL, CURLOPT_WRITEDATA, clc.download);

which is wrong, and repeated correctly @ Line 258:
	qcurl_easy_setopt(clc.downloadCURL, CURLOPT_WRITEDATA, &clc.download);

Line 247 should just be removed.
Comment 1 Thilo Schulz 2011-09-21 11:19:32 EDT
fixed r2176