From e275b7099a68e32aac102bb9e4a9125b1dccf91c Mon Sep 17 00:00:00 2001 From: Kahrl Date: Fri, 13 Dec 2013 18:08:53 +0100 Subject: Don't call curl_global_init twice --- src/main.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 239d68246..480e885c2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -86,10 +86,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "database-leveldb.h" #endif -#if USE_CURL -#include "curl/curl.h" -#endif - /* Settings. These are loaded from the config file. @@ -997,11 +993,6 @@ int main(int argc, char *argv[]) srand(time(0)); mysrand(time(0)); -#if USE_CURL - CURLcode res = curl_global_init(CURL_GLOBAL_DEFAULT); - assert(res == CURLE_OK); -#endif - // Initialize HTTP fetcher httpfetch_init(g_settings->getS32("curl_parallel_limit")); -- cgit v1.2.3