From fdee4e92397e94938fa2caf2b066c45614c022dc Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 9 Jun 2006 07:04:40 +0000 Subject: [PATCH] another patch from div0 to curl messages git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6446 d7cf8633-e32d-0410-b094-e92efae38249 --- libcurl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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)); -- 2.39.2