nettools/conntest/src/ConnTestContainer.cpp
changeset 1 e329958deeba
parent 0 857a3e953887
child 2 4cefe9af9cf4
--- a/nettools/conntest/src/ConnTestContainer.cpp	Thu Dec 17 08:39:25 2009 +0200
+++ b/nettools/conntest/src/ConnTestContainer.cpp	Mon Jan 18 20:08:29 2010 +0200
@@ -306,9 +306,10 @@
     SetFontStyle(aFontStyle);
     TChar ch;
     TInt error;
+    const TInt KBufLen( 128 );
     
-    TBuf<128> des;
-    des.Copy( aDes );
+    TBuf<KBufLen> des;
+    des.Copy( aDes.Left(KBufLen) );
     
     RDebug::Print(_L("ConnTest: %S"),&des);