From de23df173b998d21ae0f5155962cbf2ca650670c Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 9 Jun 2006 06:50:19 +0000 Subject: [PATCH] fix for continuously spewed curl error messages git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6445 d7cf8633-e32d-0410-b094-e92efae38249 --- libcurl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcurl.c b/libcurl.c index 10e8aea3..0af89550 100644 --- a/libcurl.c +++ b/libcurl.c @@ -618,10 +618,7 @@ blocking. void Curl_Run() { if(!cl_curl_enabled.integer) - { - Con_Print("curl support not enabled. Set cl_curl_enabled to 1 to enable.\n"); return; - } if(!curl_dll) return; @@ -836,7 +833,10 @@ void Curl_Curl_f(void) const char *name = 0; if(!cl_curl_enabled.integer) + { + Con_Print("curl support not enabled. Set cl_curl_enabled to 1 to enable.\n"); return; + } if(!curl_dll) return; -- 2.39.2