diff --git a/src/base/http/connection.cpp b/src/base/http/connection.cpp index 47ccf8f67..92c4eca72 100644 --- a/src/base/http/connection.cpp +++ b/src/base/http/connection.cpp @@ -79,7 +79,7 @@ void Connection::read() return; case RequestParser::ParseStatus::BadRequest: { - Logger::instance()->addMessage(tr("Bad Http request, closing socket. IP: %s") + Logger::instance()->addMessage(tr("Bad Http request, closing socket. IP: %1") .arg(m_socket->peerAddress().toString()), Log::WARNING); Response resp(400, "Bad Request");