diff --git a/gtk2_ardour/sfdb_freesound_mootcher.cc b/gtk2_ardour/sfdb_freesound_mootcher.cc index eccd3b85da..54ba3b1dd1 100644 --- a/gtk2_ardour/sfdb_freesound_mootcher.cc +++ b/gtk2_ardour/sfdb_freesound_mootcher.cc @@ -552,7 +552,7 @@ Mootcher::fetchAudioFile(std::string originalFileName, std::string theID, std::s cancel_download = false; curl_easy_setopt (curl, CURLOPT_NOPROGRESS, 0); // turn on the progress bar curl_easy_setopt (curl, CURLOPT_XFERINFOFUNCTION, progress_callback); - curl_easy_setopt (curl, CURLOPT_PROGRESSDATA, this); + curl_easy_setopt (curl, CURLOPT_XFERINFODATA, this); if (oauth_token == "") { if (!get_oauth_token()) { diff --git a/libs/ardour/soundcloud_upload.cc b/libs/ardour/soundcloud_upload.cc index 4173390df8..e2abfaeb78 100644 --- a/libs/ardour/soundcloud_upload.cc +++ b/libs/ardour/soundcloud_upload.cc @@ -203,7 +203,7 @@ SoundcloudUploader::Upload(std::string file_path, std::string title, std::string curl_easy_setopt (curl_handle, CURLOPT_NOPROGRESS, 0); // turn on the progress bar curl_easy_setopt (curl_handle, CURLOPT_XFERINFOFUNCTION, &SoundcloudUploader::progress_callback); - curl_easy_setopt (curl_handle, CURLOPT_PROGRESSDATA, this); + curl_easy_setopt (curl_handle, CURLOPT_XFERINFODATA, this); curl_multi_add_handle(multi_handle, curl_handle);