From 28c03b77ad0bb7a93d98d8b48480225dfdb4c98a Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Sat, 21 Mar 2009 18:35:59 +0100 Subject: * Fixed way too many \n in WorldLog output. --HG-- branch : trunk --- src/game/WorldSocket.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/game/WorldSocket.cpp') 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(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 ;) -- cgit v1.2.3