equal
deleted
inserted
replaced
737 CLOG_ENTERFN( "CDownloadSubSession::SetFileHandleAttributeL" ) |
737 CLOG_ENTERFN( "CDownloadSubSession::SetFileHandleAttributeL" ) |
738 |
738 |
739 RFile* file = new (ELeave) RFile; |
739 RFile* file = new (ELeave) RFile; |
740 CleanupStack::PushL( file ); |
740 CleanupStack::PushL( file ); |
741 |
741 |
742 file->AdoptFromClient( Message(), 0, 1 ); |
742 User::LeaveIfError( file->AdoptFromClient( Message(), 0, 1 ) ); |
743 |
743 |
744 // ownership is passed to the engine |
744 // ownership is passed to the engine |
745 iDownload->SetFileHandleAttributeL( file ); |
745 iDownload->SetFileHandleAttributeL( file ); |
746 |
746 |
747 CleanupStack::Pop( file ); |
747 CleanupStack::Pop( file ); |