Change made to compile on Ubuntu 24.04
This commit is contained in:
parent
47f885ec9a
commit
32afc8e016
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ std::shared_ptr<FileDownloader::DownloadData> FileDownloader::download_data_from
|
|||
|
||||
curl_easy_setopt(h.eHandle, CURLOPT_URL, url.data());
|
||||
curl_easy_setopt(h.eHandle, CURLOPT_NOSIGNAL, 1);
|
||||
curl_easy_setopt(h.eHandle, CURLOPT_FOLLOWLOCATION, CURLFOLLOW_ALL);
|
||||
curl_easy_setopt(h.eHandle, CURLOPT_FOLLOWLOCATION, 1L); // 1L == CURLFOLLOW_ALL (for compatibility with older libcurl versions, use 1L)
|
||||
curl_easy_setopt(h.eHandle, CURLOPT_USERAGENT, "InfiniPaint/0.2.0");
|
||||
curl_easy_setopt(h.eHandle, CURLOPT_NOPROGRESS, 0);
|
||||
curl_easy_setopt(h.eHandle, CURLOPT_XFERINFODATA, h.data.get());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue