mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Merge pull request #140 from Pan7/qcurl_remove
qcurl_multi_remove_handle check
This commit is contained in:
commit
da79a3ed4e
1 changed files with 6 additions and 1 deletions
|
@ -178,8 +178,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", qcurl_multi_strerror(result));
|
||||
}
|
||||
qcurl_easy_cleanup(clc.downloadCURL);
|
||||
}
|
||||
qcurl_multi_cleanup(clc.downloadCURLM);
|
||||
|
|
Loading…
Reference in a new issue