This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.42d
in repository iortcw.

commit 8828966f5c2f9f5cc782d9b674a2d67919dc69c5
Author: MAN-AT-ARMS <m4n4t4...@gmail.com>
Date:   Sat Sep 26 07:13:32 2015 -0400

    All: Fix crash with curl
---
 MP/code/client/cl_curl.c | 6 +++---
 SP/code/client/cl_curl.c | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/MP/code/client/cl_curl.c b/MP/code/client/cl_curl.c
index 165bd37..3ff5a3d 100644
--- a/MP/code/client/cl_curl.c
+++ b/MP/code/client/cl_curl.c
@@ -226,13 +226,13 @@ CURLcode qcurl_easy_setopt_warn(CURL *curl, CURLoption 
option, ...)
 
        if(option < CURLOPTTYPE_OBJECTPOINT) {
                long longValue = va_arg(argp, long);
-               result = qcurl_easy_setopt_warn(curl, option, longValue);
+               result = qcurl_easy_setopt(curl, option, longValue);
        } else if(option < CURLOPTTYPE_OFF_T) {
                void *pointerValue = va_arg(argp, void *);
-               result = qcurl_easy_setopt_warn(curl, option, pointerValue);
+               result = qcurl_easy_setopt(curl, option, pointerValue);
        } else {
                curl_off_t offsetValue = va_arg(argp, curl_off_t);
-               result = qcurl_easy_setopt_warn(curl, option, offsetValue);
+               result = qcurl_easy_setopt(curl, option, offsetValue);
        }
 
        if(result != CURLE_OK) {
diff --git a/SP/code/client/cl_curl.c b/SP/code/client/cl_curl.c
index 165bd37..3ff5a3d 100644
--- a/SP/code/client/cl_curl.c
+++ b/SP/code/client/cl_curl.c
@@ -226,13 +226,13 @@ CURLcode qcurl_easy_setopt_warn(CURL *curl, CURLoption 
option, ...)
 
        if(option < CURLOPTTYPE_OBJECTPOINT) {
                long longValue = va_arg(argp, long);
-               result = qcurl_easy_setopt_warn(curl, option, longValue);
+               result = qcurl_easy_setopt(curl, option, longValue);
        } else if(option < CURLOPTTYPE_OFF_T) {
                void *pointerValue = va_arg(argp, void *);
-               result = qcurl_easy_setopt_warn(curl, option, pointerValue);
+               result = qcurl_easy_setopt(curl, option, pointerValue);
        } else {
                curl_off_t offsetValue = va_arg(argp, curl_off_t);
-               result = qcurl_easy_setopt_warn(curl, option, offsetValue);
+               result = qcurl_easy_setopt(curl, option, offsetValue);
        }
 
        if(result != CURLE_OK) {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/iortcw.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to