mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 06:07:29 +01:00
get some info on why curl fails
git-svn-id: svn://localhost/ardour2/branches/3.0@14192 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ed5ff77313
commit
e05e9f650d
1 changed files with 3 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ _pingback (void *arg)
|
|||
|
||||
curl_global_init (CURL_GLOBAL_NOTHING);
|
||||
c = curl_easy_init ();
|
||||
|
||||
|
||||
curl_easy_setopt(c, CURLOPT_WRITEFUNCTION, curl_write_data);
|
||||
curl_easy_setopt(c, CURLOPT_WRITEDATA, &return_str);
|
||||
char errbuf[CURL_ERROR_SIZE];
|
||||
|
|
@ -153,6 +153,8 @@ _pingback (void *arg)
|
|||
annc_file << return_str;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
std::cerr << "curl failed: " << errbuff << std::endl;
|
||||
}
|
||||
|
||||
curl_easy_cleanup (c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue