diff options
author | Spp <none@none> | 2010-04-07 18:09:10 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-07 18:09:10 +0200 |
commit | b27ce42704c33e292bda390265bb8fd01a433505 (patch) | |
tree | 29b2df222a2c1be3325e3d6fab75206100b578fd /src/game/WorldSocket.cpp | |
parent | f490ad5ac259712e323f0a52e608ff1383b2fc41 (diff) |
Code Style: Remove trailing spaces
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSocket.cpp')
-rw-r--r-- | src/game/WorldSocket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/WorldSocket.cpp b/src/game/WorldSocket.cpp index b0e524718e4..7865068b912 100644 --- a/src/game/WorldSocket.cpp +++ b/src/game/WorldSocket.cpp @@ -411,7 +411,7 @@ int WorldSocket::Update (void) if (m_TimeOutTime && time(NULL) >= m_TimeOutTime) return -1; - + if (m_OutActive || m_OutBuffer->length () == 0) return 0; @@ -837,7 +837,7 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket) locale = LOCALE_enUS; // Checks gmlevel per Realm - result = + result = loginDatabase.PQuery ("SELECT " "RealmID, " //0 "gmlevel " //1 @@ -1064,7 +1064,7 @@ int WorldSocket::iSendPartialPacket(WorldPacket& pct) if (m_OutBuffer->copy((char*) (pct.contents() + pct.rpos()), remainingLen) == -1) ACE_ASSERT (false); - return 1; // some byte written and packet completed + return 1; // some byte written and packet completed } bool WorldSocket::iFlushPacketQueue() @@ -1076,7 +1076,7 @@ bool WorldSocket::iFlushPacketQueue() { int result = iSendPartialPacket(*pct); - if (result != 0) + if (result != 0) { // some bytes were written haveone = true; |