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:
parent
2f9195bd56
commit
eb06bb874c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user