diff -r 3f7d9dbe57c8 -r 19fb38abab1d fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp --- a/fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp Tue Feb 02 00:44:00 2010 +0200 +++ b/fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp Fri Apr 16 15:52:47 2010 +0300 @@ -99,6 +99,9 @@ // Define write area TUint8* p1 = iMyWriteStream->iFotaEngineSession->iChunk.Base(); TUint8* p2; + p2 = p1 + chunksize; + + /* // dead code if ( limitedwritearea == -1 ) { p2 = p1 + chunksize; @@ -107,6 +110,7 @@ { p2 = p1 + limitedwritearea; } + */ SetBuf (a,p1 , p2 ); FLOG(_L("TDP2StreamBuf::ResetL() <<" )); }