From e3d5da24091bad6043d7eef00f8f297bf1203ab5 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 4 Sep 2012 19:05:35 +0000 Subject: Fixed a possible race condition in cClientHandle's packet sending code; prepared for moving cSocket out of cClientHandle's ownership. git-svn-id: http://mc-server.googlecode.com/svn/trunk@832 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cPlayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cPlayer.cpp') diff --git a/source/cPlayer.cpp b/source/cPlayer.cpp index 4605049b3..4095c633a 100644 --- a/source/cPlayer.cpp +++ b/source/cPlayer.cpp @@ -57,7 +57,7 @@ cPlayer::cPlayer(cClientHandle* a_Client, const AString & a_PlayerName) , m_FoodTickTimer(0) { LOGD("Created a player object for \"%s\" @ \"%s\" at %p, ID %d", - a_PlayerName.c_str(), a_Client->GetSocket().GetIPString().c_str(), + a_PlayerName.c_str(), a_Client->GetIPString().c_str(), this, GetUniqueID() ); m_EntityType = eEntityType_Player; -- cgit v1.2.3