From c88dc841d0d270c73a2f517f667d1483a2f31245 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 15 Oct 2007 15:38:55 +0000 Subject: Accidently committed a version of Bu::ProtocolTelnet that had overly excessive debugging. That's been fixed. --- src/protocoltelnet.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/protocoltelnet.cpp b/src/protocoltelnet.cpp index 5361a61..22c988e 100644 --- a/src/protocoltelnet.cpp +++ b/src/protocoltelnet.cpp @@ -270,7 +270,7 @@ void Bu::ProtocolTelnet::write( const Bu::FString &sData ) { write( sData.getStr(), sData.getSize() ); } -#include "bu/logger.h" + void Bu::ProtocolTelnet::write( const char *pData, int iSize ) { int iLast = 0, j; @@ -281,9 +281,7 @@ void Bu::ProtocolTelnet::write( const char *pData, int iSize ) if( j+1 >= iSize || (pData[j+1] != '\r' && pData[j+1] != '\0') ) { - logHexDump( 1, pData+iLast, j-iLast, "bo" ); pClient->write( pData+iLast, j-iLast ); - logHexDump( 1, "\n\r", 2, "ba" ); pClient->write( "\n\r", 2 ); iLast = j+1; } @@ -295,7 +293,6 @@ void Bu::ProtocolTelnet::write( const char *pData, int iSize ) } if( j > iLast ) { - logHexDump( 1, pData+iLast, iSize-iLast, "bl" ); pClient->write( pData+iLast, iSize-iLast ); } //pClient->write( pData, iSize ); -- cgit v1.2.3