From: havoc Date: Fri, 9 Jun 2006 07:04:40 +0000 (+0000) Subject: another patch from div0 to curl messages X-Git-Tag: xonotic-v0.1.0preview~3931 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fdee4e92397e94938fa2caf2b066c45614c022dc;p=xonotic%2Fdarkplaces.git another patch from div0 to curl messages git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6446 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/libcurl.c b/libcurl.c index 0af89550..e37d40d4 100644 --- a/libcurl.c +++ b/libcurl.c @@ -832,14 +832,17 @@ void Curl_Curl_f(void) const char *url; const char *name = 0; - if(!cl_curl_enabled.integer) + if(!curl_dll) { - Con_Print("curl support not enabled. Set cl_curl_enabled to 1 to enable.\n"); + Con_Print("libcurl DLL not found, this command is inactive.\n"); return; } - if(!curl_dll) + if(!cl_curl_enabled.integer) + { + Con_Print("curl support not enabled. Set cl_curl_enabled to 1 to enable.\n"); return; + } for(i = 0; i != Cmd_Argc(); ++i) Con_DPrintf("%s ", Cmd_Argv(i));