From: divverent Date: Wed, 9 Oct 2013 12:55:05 +0000 (+0000) Subject: Fix cl_curl_enabled 0. X-Git-Tag: xonotic-v0.8.0~96^2~22 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f2ee5c6b22ec9ebe565df29419abb7b93b0fabe;p=xonotic%2Fdarkplaces.git Fix cl_curl_enabled 0. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12018 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/libcurl.c b/libcurl.c index 2d95afbb..9e485b22 100644 --- 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; }