fix for weird IP address logging

This commit is contained in:
john30
2018-02-04 16:15:34 +01:00
parent c94da06975
commit 66e4d76a9b
4 changed files with 41 additions and 1 deletions
+2 -1
View File
@@ -323,8 +323,9 @@ void Network::run() {
Connection* connection = new Connection(socket, isHttp, m_netQueue);
connection->start("connection");
m_connections.push_back(connection);
string ip = socket->getIP();
logInfo(lf_network, "[%05d] %s connection opened %s", connection->getID(), isHttp ? "HTTP" : "client",
socket->getIP().c_str());
ip.c_str());
}
}
}