From 2cbd579b3d789a50cbee5634b29c1280ecf6b63c Mon Sep 17 00:00:00 2001 From: "Mads R. B. Kristensen" Date: Mon, 28 Oct 2024 16:33:49 +0100 Subject: [PATCH] ci-debug --- cpp/include/kvikio/shim/libcurl.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/include/kvikio/shim/libcurl.hpp b/cpp/include/kvikio/shim/libcurl.hpp index 00fc98c615..f59db69f92 100644 --- a/cpp/include/kvikio/shim/libcurl.hpp +++ b/cpp/include/kvikio/shim/libcurl.hpp @@ -166,7 +166,7 @@ class CurlHandle { setopt(CURLOPT_NOSIGNAL, 1L); // We always set CURLOPT_ERRORBUFFER to get better error messages. - _errbuf[0] = 0; // Set the error buffer as empty. + _errbuf[0] = 0; // Set the error buffer as empty. setopt(CURLOPT_ERRORBUFFER, _errbuf); // Make curl_easy_perform() fail when receiving HTTP code errors. @@ -217,7 +217,7 @@ class CurlHandle { // Perform the curl operation and check for errors. CURLcode err = curl_easy_perform(handle()); if (err != CURLE_OK) { - std::string msg(_errbuf); + std::string msg(_errbuf); // We can do this because we always initialize `_errbuf`as empty. std::stringstream ss; ss << "curl_easy_perform() error near " << _source_file << ":" << _source_line; if (msg.empty()) {