diff options
author | XTZGZoReX <none@none> | 2009-03-21 18:35:59 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2009-03-21 18:35:59 +0100 |
commit | 28c03b77ad0bb7a93d98d8b48480225dfdb4c98a (patch) | |
tree | 0c537083649c94e6a805539c230008735a9589a8 /src/game/WorldSocket.cpp | |
parent | 1cae82a153135d223203866d3f9ce2ddc5a7fbe6 (diff) |
* Fixed way too many \n in WorldLog output.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSocket.cpp')
-rw-r--r-- | src/game/WorldSocket.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/game/WorldSocket.cpp b/src/game/WorldSocket.cpp index dd2d2d93f1f..c8ed6db0592 100644 --- a/src/game/WorldSocket.cpp +++ b/src/game/WorldSocket.cpp @@ -182,10 +182,8 @@ int WorldSocket::SendPacket (const WorldPacket& pct) for (uint32 j = 0; j < 16 && p < pct.size (); j++) sWorldLog.outLog ("%.2X ", const_cast<WorldPacket&>(pct)[p++]); - sWorldLog.outLog ("\n"); + sWorldLog.outLog (""); } - - sWorldLog.outLog ("\n\n"); } ServerPktHeader header(pct.size()+2, pct.GetOpcode()); @@ -692,9 +690,9 @@ int WorldSocket::ProcessIncoming (WorldPacket* new_pct) { for (uint32 j = 0; j < 16 && p < new_pct->size (); j++) sWorldLog.outLog ("%.2X ", (*new_pct)[p++]); - sWorldLog.outLog ("\n"); + + sWorldLog.outLog (""); } - sWorldLog.outLog ("\n\n"); } // like one switch ;) |