1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

curl_global_init() is not needed here (anymore)

This commit is contained in:
Pavel Labath 2010-09-11 14:51:08 +02:00
parent 2f9195bd56
commit eb06bb874c

View File

@ -153,8 +153,6 @@ static char *getXmlFromAPI(const char *userid, const char *apikey, const char *c
chr.data = NULL;
chr.size = 0;
curl_global_init(CURL_GLOBAL_ALL);
curl_handle = curl_easy_init();
curl_easy_setopt(curl_handle, CURLOPT_FAILONERROR, 1);
curl_easy_setopt(curl_handle, CURLOPT_URL, url);