Clarify library URL pref name (amend d4532973)

This commit is contained in:
Robin Gareus 2022-09-12 01:31:49 +02:00
parent 97bd9854ed
commit ea335eedeb
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ CONFIG_VARIABLE (std::string, tutorial_manual_url, "tutorial-manual-url", "http:
CONFIG_VARIABLE (std::string, reference_manual_url, "reference-manual-url", "http://manual.ardour.org/")
CONFIG_VARIABLE (std::string, updates_url, "updates-url", "http://ardour.org/whatsnew.html")
CONFIG_VARIABLE (std::string, donate_url, "donate-url", "http://community.ardour.org/donate")
CONFIG_VARIABLE (std::string, clip_library_url, "clip-library-url", "http://ardour.org/libraries.xml")
CONFIG_VARIABLE (std::string, resource_index_url, "resource-index-url", "http://ardour.org/libraries.xml")
/* video timeline configuration */
CONFIG_VARIABLE (std::string, xjadeo_binary, "xjadeo-binary", "")

View File

@ -63,7 +63,7 @@ LibraryFetcher::get_descriptions ()
}
std::string buf;
curl_easy_setopt (curl, CURLOPT_URL, Config->get_clip_library_url().c_str());
curl_easy_setopt (curl, CURLOPT_URL, Config->get_resource_index_url().c_str());
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, CurlWrite_CallbackFunc_StdString);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buf);