--- a/fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp Fri Mar 12 15:46:48 2010 +0200
+++ b/fotaapplication/fotaserver/FotaEngine/SRC/fotaengstream.cpp Mon Mar 15 12:43:15 2010 +0200
@@ -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() <<" ));
}