Core/Network: Fix build

This commit is contained in:
DDuarte
2014-07-25 19:49:43 +01:00
parent db6be5927f
commit dcfa3bfa90
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -941,5 +941,6 @@ void AuthSession::CloseSocket()
boost::system::error_code socketError;
_socket.close(socketError);
if (socketError)
TC_LOG_DEBUG("server.authserver", "Account '%s' errored when closing socket: %i (%s)", _login.c_str(), socketError.value(), socketError.message());
TC_LOG_DEBUG("server.authserver", "Account '%s' errored when closing socket: %i (%s)",
_login.c_str(), socketError.value(), socketError.message().c_str());
}
+1 -1
View File
@@ -508,5 +508,5 @@ void WorldSocket::CloseSocket()
if (socketError)
TC_LOG_DEBUG("network", "WorldSocket::CloseSocket: Player '%s' (%s) errored when closing socket: %i (%s)",
_worldSession ? _worldSession->GetPlayerInfo().c_str() : "unknown", GetRemoteIpAddress().c_str(),
socketError.value(), socketError.message());
socketError.value(), socketError.message().c_str());
}