From aa7a614c36c15345f18ad2ed03a489481671d47f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Tue, 20 Feb 2024 21:11:26 +0100 Subject: [PATCH] Fix incorrect variable used in Android-specific code The function `curl_easy_setopt` expects a `CURL *`, but `pHandle` is a `void *`. --- src/engine/shared/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/shared/http.cpp b/src/engine/shared/http.cpp index ebe46c836..225a60ffc 100644 --- a/src/engine/shared/http.cpp +++ b/src/engine/shared/http.cpp @@ -174,7 +174,7 @@ bool CHttpRequest::ConfigureHandle(void *pHandle) } #ifdef CONF_PLATFORM_ANDROID - curl_easy_setopt(pHandle, CURLOPT_CAINFO, "data/cacert.pem"); + curl_easy_setopt(pH, CURLOPT_CAINFO, "data/cacert.pem"); #endif switch(m_Type)