# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1270058917 -10800 # Node ID a17829cb5e59e79dcba83a47430f553868150135 # Parent 86091f1c2f4d33ffa8b682365a48c75c3a0ff1e8 Revision: 201010 Kit: 201013 diff -r 86091f1c2f4d -r a17829cb5e59 nettools/conntest/Engine/HttpHandler.cpp --- a/nettools/conntest/Engine/HttpHandler.cpp Mon Mar 15 12:39:11 2010 +0200 +++ b/nettools/conntest/Engine/HttpHandler.cpp Wed Mar 31 21:08:37 2010 +0300 @@ -31,7 +31,7 @@ //const TInt KMaxSubmitSize = 2048; const TInt KMaxHeaderNameLen = 32; const TInt KMaxHeaderValueLen = 128; - +const TInt KMaxStatusStrLen = 32; // ================= MEMBER FUNCTIONS ======================= @@ -533,8 +533,10 @@ RHTTPResponse resp = aTransaction.Response(); TInt status = resp.StatusCode(); RStringF statusStr = resp.StatusText(); - TBuf<32> statusStr16; - statusStr16.Copy(statusStr.DesC()); + const TDesC8& statusStrDesC = statusStr.DesC(); + TBuf< KMaxStatusStrLen > statusStr16; + statusStr16.Copy( statusStrDesC.Left( KMaxStatusStrLen ) ); + TBuf<64> st; st.Format(_L("Status: %d (%S)\n"), status, &statusStr16); iConsole.PrintNotify(st); diff -r 86091f1c2f4d -r a17829cb5e59 package_definition.xml --- a/package_definition.xml Mon Mar 15 12:39:11 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - -