webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp
changeset 36 0ed94ceaa377
parent 17 c8a366e56285
child 65 5bfc169077b2
equal deleted inserted replaced
32:9a9a761f03f1 36:0ed94ceaa377
    97     {
    97     {
    98 #ifdef __CACHELOG__
    98 #ifdef __CACHELOG__
    99     HttpCacheUtil::WriteFormatLog(0, _L("CACHEPOSTPONE: CHttpCacheEntryAsyncWriteHelper::WriteNextBodyBlock called on object %08x for block %d"), this, iBodyPart );
    99     HttpCacheUtil::WriteFormatLog(0, _L("CACHEPOSTPONE: CHttpCacheEntryAsyncWriteHelper::WriteNextBodyBlock called on object %08x for block %d"), this, iBodyPart );
   100 #endif
   100 #endif
   101 
   101 
   102     TPtrC8 bufferPtr( iSource->BodyData().GetSegmentData(iBodyPart) );
   102     iCurrentBuf.Set( iSource->BodyData().GetSegmentData(iBodyPart) );    
   103     iSource->BodyFile().Write(bufferPtr, iStatus);
   103     iSource->BodyFile().Write(iCurrentBuf, iStatus);
   104     }
   104     }
   105 
   105 
   106 // -----------------------------------------------------------------------------
   106 // -----------------------------------------------------------------------------
   107 // CHttpCacheEntryAsyncWriteHelper::RunL
   107 // CHttpCacheEntryAsyncWriteHelper::RunL
   108 // -----------------------------------------------------------------------------
   108 // -----------------------------------------------------------------------------