]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - libcurl.c
damn, THIS fix wasn't need - the demo reading fix already did that
[xonotic/darkplaces.git] / libcurl.c
index 843fb74a686b200fa748358427c6bed6982c0a5f..b19229b3424e113d6cb85e8ce2bb782ad14f8147 100644 (file)
--- a/libcurl.c
+++ b/libcurl.c
@@ -330,14 +330,7 @@ static qboolean CURL_OpenLibrary (void)
                return true;
 
        // Load the DLL
-       if (! Sys_LoadLibrary (dllnames, &curl_dll, curlfuncs))
-       {
-               Con_Printf ("cURL support disabled\n");
-               return false;
-       }
-
-       Con_Printf ("cURL support enabled\n");
-       return true;
+       return Sys_LoadLibrary (dllnames, &curl_dll, curlfuncs);
 }
 
 
@@ -626,7 +619,6 @@ void Curl_Begin(const char *URL, const char *name, qboolean ispak, qboolean fort
                length = q ? (size_t)(q - p) : strlen(p);
                dpsnprintf(fn, sizeof(fn), "dlcache/%.*s", (int)length, p);
 
-
                // already downloading the file?
                {
                        downloadinfo *di = Curl_Find(fn);