mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
qcurl_multi_remove_handle check
This commit is contained in:
parent
605dfabb94
commit
85faec91ab
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", curl_multi_strerror(result));
|
||||
}
|
||||
qcurl_easy_cleanup(clc.downloadCURL);
|
||||
}
|
||||
qcurl_multi_cleanup(clc.downloadCURLM);
|
||||
|
|
Loading…
Reference in a new issue