summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2015-07-29 13:39:27 +0100
committerTim Angus <tim@ngus.net>2016-04-07 11:04:21 +0100
commit42e7af1602cedbc7dcb440e2298bcfdc75b437f4 (patch)
tree9bb7b3479b49d0349918e2748529cacc8c4b7c48 /src/client
parent3175cb56dfe31d511ba98195c7f778af69d6a7ad (diff)
Return the result from qcurl_easy_setopt_warn
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_curl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c
index c3530d72..475398d1 100644
--- a/src/client/cl_curl.c
+++ b/src/client/cl_curl.c
@@ -226,6 +226,8 @@ CURLcode qcurl_easy_setopt_warn(CURL *curl, CURLoption option, va_list args)
if(result != CURLE_OK) {
Com_DPrintf("qcurl_easy_setopt failed: %s\n", qcurl_easy_strerror(result));
}
+
+ return result;
}
void CL_cURL_BeginDownload( const char *localName, const char *remoteURL )