From 814eef1e5679e7e62492e70b809616c377faf891 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 27 Jan 2019 18:01:48 +0800 Subject: [PATCH] Fix wrong arg placehoder --- src/base/http/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");