diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-10-15 15:38:55 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-10-15 15:38:55 +0000 |
commit | c88dc841d0d270c73a2f517f667d1483a2f31245 (patch) | |
tree | fcc54c92beb2182eeca4754648a1fbff2e5ac66a | |
parent | de7922c77175f625744926f5c34e7d5367d5ca12 (diff) | |
download | libbu++-c88dc841d0d270c73a2f517f667d1483a2f31245.tar.gz libbu++-c88dc841d0d270c73a2f517f667d1483a2f31245.tar.bz2 libbu++-c88dc841d0d270c73a2f517f667d1483a2f31245.tar.xz libbu++-c88dc841d0d270c73a2f517f667d1483a2f31245.zip |
Accidently committed a version of Bu::ProtocolTelnet that had overly excessive
debugging. That's been fixed.
-rw-r--r-- | src/protocoltelnet.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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 ) | |||
270 | { | 270 | { |
271 | write( sData.getStr(), sData.getSize() ); | 271 | write( sData.getStr(), sData.getSize() ); |
272 | } | 272 | } |
273 | #include "bu/logger.h" | 273 | |
274 | void Bu::ProtocolTelnet::write( const char *pData, int iSize ) | 274 | void Bu::ProtocolTelnet::write( const char *pData, int iSize ) |
275 | { | 275 | { |
276 | int iLast = 0, j; | 276 | int iLast = 0, j; |
@@ -281,9 +281,7 @@ void Bu::ProtocolTelnet::write( const char *pData, int iSize ) | |||
281 | if( j+1 >= iSize || | 281 | if( j+1 >= iSize || |
282 | (pData[j+1] != '\r' && pData[j+1] != '\0') ) | 282 | (pData[j+1] != '\r' && pData[j+1] != '\0') ) |
283 | { | 283 | { |
284 | logHexDump( 1, pData+iLast, j-iLast, "bo" ); | ||
285 | pClient->write( pData+iLast, j-iLast ); | 284 | pClient->write( pData+iLast, j-iLast ); |
286 | logHexDump( 1, "\n\r", 2, "ba" ); | ||
287 | pClient->write( "\n\r", 2 ); | 285 | pClient->write( "\n\r", 2 ); |
288 | iLast = j+1; | 286 | iLast = j+1; |
289 | } | 287 | } |
@@ -295,7 +293,6 @@ void Bu::ProtocolTelnet::write( const char *pData, int iSize ) | |||
295 | } | 293 | } |
296 | if( j > iLast ) | 294 | if( j > iLast ) |
297 | { | 295 | { |
298 | logHexDump( 1, pData+iLast, iSize-iLast, "bl" ); | ||
299 | pClient->write( pData+iLast, iSize-iLast ); | 296 | pClient->write( pData+iLast, iSize-iLast ); |
300 | } | 297 | } |
301 | //pClient->write( pData, iSize ); | 298 | //pClient->write( pData, iSize ); |