Fix wrong arg placehoder

This commit is contained in:
Chocobo1 2019-01-27 18:01:48 +08:00
parent 0738b3860b
commit 814eef1e56
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -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");