webengine/osswebengine/cache/src/HttpCachePostponeWriteUtilities.cpp
changeset 65 5bfc169077b2
parent 36 0ed94ceaa377
child 94 919f36ff910f
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
    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     iCurrentBuf.Set( iSource->BodyData().GetSegmentData(iBodyPart) );    
   102     TPtrC8 bufferPtr( iSource->BodyData().GetSegmentData(iBodyPart) );
   103     iSource->BodyFile().Write(iCurrentBuf, iStatus);
   103     iSource->BodyFile().Write(bufferPtr, iStatus);
   104     }
   104     }
   105 
   105 
   106 // -----------------------------------------------------------------------------
   106 // -----------------------------------------------------------------------------
   107 // CHttpCacheEntryAsyncWriteHelper::RunL
   107 // CHttpCacheEntryAsyncWriteHelper::RunL
   108 // -----------------------------------------------------------------------------
   108 // -----------------------------------------------------------------------------