Use PBD::CCurl for Ardour GUI HTTP/S requests

This commit is contained in:
Robin Gareus 2025-05-19 23:38:46 +02:00
parent 4f300b5474
commit 7b6ca334df
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
5 changed files with 23 additions and 99 deletions

View file

@ -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;