From 9da832c1d1775aa9723ea2f55d20e7eb5f667058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <> Date: Sun, 11 Aug 2024 11:44:38 -0400 Subject: [PATCH] http: use appropriate string format syntax --- src/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.cpp b/src/http.cpp index e3c6e14ba..d0f3e01f7 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -461,7 +461,7 @@ Connection::set_ssl_verification(const std::string& hostname, const asio::ssl::v bool verified = verifier(preverified, ctx); auto verify_ec = X509_STORE_CTX_get_error(ctx.native_handle()); if (verify_ec != 0 /*X509_V_OK*/ and logger) - logger->error("[http::connection:{:d}] ssl verification error={:d} %d", id, verify_ec, verified); + logger->error("[http::connection:{:d}] ssl verification error={:d} {}", id, verify_ec, verified); if (verified and checkOcsp) { std::unique_ptr chain( X509_STORE_CTX_get1_chain(ctx.native_handle()),