fix cURL/SSL
pingback comes first. We need defaults (with SSL). Later explicit (Freesound Moocher) and implicit (curl_easy_init) calls to curl_global_init are idempotent and won't get the flags back.
This commit is contained in:
parent
5f2ee3328f
commit
6424a0eab9
@ -109,7 +109,7 @@ _pingback (void *arg)
|
||||
string return_str;
|
||||
//initialize curl
|
||||
|
||||
curl_global_init (CURL_GLOBAL_NOTHING);
|
||||
curl_global_init (CURL_GLOBAL_DEFAULT);
|
||||
c = curl_easy_init ();
|
||||
|
||||
curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, curl_write_data);
|
||||
|
Loading…
Reference in New Issue
Block a user