Core/Misc: Code style and remove unused define.
Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
1 parent
e77f51df5d
commit
5b7493fc66
21 files changed
+86
-88
No files matched your search
@@ -195,7 +195,7 @@ void WorldSession::SendPacket(WorldPacket const* packet)
|
||||
}
|
||||
#endif // !TRINITY_DEBUG
|
||||
|
||||
if (m_Socket->SendPacket (*packet) == -1)
|
||||
if (m_Socket->SendPacket(*packet) == -1)
|
||||
m_Socket->CloseSocket();
|
||||
}
|
||||
|
||||
@@ -922,6 +922,7 @@ void WorldSession::ReadAddonsInfo(WorldPacket &data)
|
||||
{
|
||||
if (data.rpos() + 4 > data.size())
|
||||
return;
|
||||
|
||||
uint32 size;
|
||||
data >> size;
|
||||
|
||||
|
||||
Reference in new issue
Block a user