Return the result from qcurl_easy_setopt_warn

This commit is contained in:
Tim Angus 2015-07-29 13:39:27 +01:00
parent eb3dda59e4
commit 4e1cf7ac9b

View file

@ -225,6 +225,8 @@ CURLcode qcurl_easy_setopt_warn(CURL *curl, CURLoption option, va_list args)
if(result != CURLE_OK) { if(result != CURLE_OK) {
Com_DPrintf("qcurl_easy_setopt failed: %s\n", qcurl_easy_strerror(result)); Com_DPrintf("qcurl_easy_setopt failed: %s\n", qcurl_easy_strerror(result));
} }
return result;
} }
void CL_cURL_BeginDownload( const char *localName, const char *remoteURL ) void CL_cURL_BeginDownload( const char *localName, const char *remoteURL )