From faa17ac3547ad194d916ea69ac3fd479202629da Mon Sep 17 00:00:00 2001 From: Lambourl <65184664+Lambourl@users.noreply.github.com> Date: Thu, 18 Jan 2024 14:10:33 +0100 Subject: [PATCH] :wrench: qualify the call of getenv --- xxhr/impl/session-curl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xxhr/impl/session-curl.hpp b/xxhr/impl/session-curl.hpp index 87ada6d0..77b44be6 100644 --- a/xxhr/impl/session-curl.hpp +++ b/xxhr/impl/session-curl.hpp @@ -617,7 +617,7 @@ void Session::Impl::prepareCommon() { #endif if (std::getenv("SSL_CERT_FILE") != nullptr) { - std::string cacert_path = getenv("SSL_CERT_FILE"); + std::string cacert_path = std::getenv("SSL_CERT_FILE"); curl_easy_setopt(curl_->handle, CURLOPT_CAINFO,cacert_path.data()); }