mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-03-04 15:21:00 +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.downloadCURLM) {
|
||||||
if(clc.downloadCURL) {
|
if(clc.downloadCURL) {
|
||||||
qcurl_multi_remove_handle(clc.downloadCURLM,
|
CURLMcode result;
|
||||||
|
|
||||||
|
result = qcurl_multi_remove_handle(clc.downloadCURLM,
|
||||||
clc.downloadCURL);
|
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_easy_cleanup(clc.downloadCURL);
|
||||||
}
|
}
|
||||||
qcurl_multi_cleanup(clc.downloadCURLM);
|
qcurl_multi_cleanup(clc.downloadCURLM);
|
||||||
|
|
Loading…
Reference in a new issue