mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
Use PBD::CCurl for Ardour GUI HTTP/S requests
This commit is contained in:
parent
4f300b5474
commit
7b6ca334df
5 changed files with 23 additions and 99 deletions
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
#include "sfdb_ui.h"
|
||||
|
||||
#include "curl/curl.h"
|
||||
#include "pbd/ccurl.h"
|
||||
|
||||
//--- struct to store XML file
|
||||
struct SfdbMemoryStruct {
|
||||
|
|
@ -105,7 +105,7 @@ private:
|
|||
std::string sortMethodString (enum sortMethod sort);
|
||||
std::string getSoundResourceFile (std::string ID);
|
||||
|
||||
CURL *curl;
|
||||
PBD::CCurl ccurl;
|
||||
char errorBuffer[CURL_ERROR_SIZE]; // storage for cUrl error message
|
||||
|
||||
FILE* theFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue