We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4090bd0 commit a9e44c5Copy full SHA for a9e44c5
src/addon/downloader.cpp
@@ -297,7 +297,7 @@ class Transfer final
297
298
curl_easy_setopt(m_handle, CURLOPT_NOPROGRESS, 0);
299
curl_easy_setopt(m_handle, CURLOPT_PROGRESSDATA, this);
300
- #if LIBCURL_VERSION_MAJOR >= 7 && LIBCURL_VERSION_MINOR >= 32
+ #if LIBCURL_VERSION_MAJOR > 7 || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 32)
301
curl_easy_setopt(m_handle, CURLOPT_XFERINFOFUNCTION, &Transfer::on_progress_wrap);
302
#else
303
curl_easy_setopt(m_handle, CURLOPT_PROGRESSFUNCTION, &Transfer::on_progress_wrap);
0 commit comments