diff options
author | Pan7 <panter@gmx.net> | 2015-07-27 20:38:20 +0200 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:02:32 +0100 |
commit | eee640bf1623d3d418774de0f1e94de257b81e7e (patch) | |
tree | 6ff5a3c4fe7e21980efdee1076a01ea4f0631311 /src | |
parent | b595499c2ca57ca1995f46b026cba44548ae81e6 (diff) |
qcurl_multi_remove_handle check
Diffstat (limited to 'src')
-rw-r--r-- | src/client/cl_curl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c index c3d0c7c8..07633917 100644 --- a/src/client/cl_curl.c +++ b/src/client/cl_curl.c @@ -179,8 +179,13 @@ void CL_cURL_Cleanup(void) { if(clc.downloadCURLM) { if(clc.downloadCURL) { - qcurl_multi_remove_handle(clc.downloadCURLM, + CURLMcode result; + + result = qcurl_multi_remove_handle(clc.downloadCURLM, clc.downloadCURL); + if(result != CURLM_OK) { + Com_DPrintf("qcurl_multi_remove_handle failed: %s\n", curl_multi_strerror(result)); + } qcurl_easy_cleanup(clc.downloadCURL); } qcurl_multi_cleanup(clc.downloadCURLM); |