From 6a4cb5c12c979fd6958238d5b57cfd4aff0cdf4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Aleksandrovi=C4=8D=20Klimov?= Date: Tue, 16 Jan 2024 16:31:00 +0100 Subject: [PATCH] HttpServerConnection: remove duplicate ")" from a log message The commit 5c32a5a7dcd220598d36b2b47e745d14c23edb93, which introduced it, clearly shows that the other ")" already existed legitimately. --- lib/remote/httpserverconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/httpserverconnection.cpp b/lib/remote/httpserverconnection.cpp index c07c19a38..8199d091c 100644 --- a/lib/remote/httpserverconnection.cpp +++ b/lib/remote/httpserverconnection.cpp @@ -543,7 +543,7 @@ void HttpServerConnection::ProcessMessages(boost::asio::yield_context yc) logMsg << "Request: " << request.method_string() << ' ' << request.target() << " (from " << m_PeerAddress - << "), user: " << (authenticatedUser ? authenticatedUser->GetName() : "") + << ", user: " << (authenticatedUser ? authenticatedUser->GetName() : "") << ", agent: " << request[http::field::user_agent]; //operator[] - Returns the value for a field, or "" if it does not exist. Defer addRespCode ([&response, &logMsg]() {