1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description: Fix FTBFS with curl 8.16.0
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1114263
--- pinot-1.22.orig/Collect/CurlDownloader.cpp
+++ pinot-1.22/Collect/CurlDownloader.cpp
@@ -302,7 +302,7 @@ Document *CurlDownloader::retrieveUrl(co
if ((m_proxyAddress.empty() == false) &&
(m_proxyPort > 0))
{
- curl_proxytype proxyType = CURLPROXY_HTTP;
+ long proxyType = CURLPROXY_HTTP;
curl_easy_setopt(pCurlHandler, CURLOPT_PROXY, m_proxyAddress.c_str());
curl_easy_setopt(pCurlHandler, CURLOPT_PROXYPORT, m_proxyPort);
|