From 4f2ee5c6b22ec9ebe565df29419abb7b93b0fabe Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 9 Oct 2013 12:55:05 +0000 Subject: [PATCH] Fix cl_curl_enabled 0. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12018 d7cf8633-e32d-0410-b094-e92efae38249 --- libcurl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2