]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix cl_curl_enabled 0.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Oct 2013 12:55:05 +0000 (12:55 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 9 Oct 2013 12:55:05 +0000 (12:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12018 d7cf8633-e32d-0410-b094-e92efae38249

libcurl.c

index 2d95afbb0f590e625281e2f36a4fb1b2fc0cbda1..9e485b220410080754b5bc6cfc33717f0afde13f 100644 (file)
--- a/libcurl.c
+++ b/libcurl.c
@@ -878,7 +878,7 @@ static qboolean Curl_Begin(const char *URL, const char *extraheaders, double max
                if(loadtype != LOADTYPE_NONE)
                        Host_Error("Curl_Begin: loadtype and buffer are both set");
 
-       if(!curl_dll)
+       if(!curl_dll || !cl_curl_enabled.integer)
        {
                return false;
        }