browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrSrvObject.cpp
branchRCL_3
changeset 103 be5f8c9adf67
parent 94 919f36ff910f
equal deleted inserted replaced
99:ca6d8a014f4b 103:be5f8c9adf67
   373         CLOG_WRITE_FORMAT( " aProgressState = %d", aProgressState )
   373         CLOG_WRITE_FORMAT( " aProgressState = %d", aProgressState )
   374         CLOG_WRITE_FORMAT( " aMoIndex = %d", aMoIndex )
   374         CLOG_WRITE_FORMAT( " aMoIndex = %d", aMoIndex )
   375 
   375 
   376         TPckgBuf<TInt32> pckgDownloadState( aDownloadState );
   376         TPckgBuf<TInt32> pckgDownloadState( aDownloadState );
   377         TPckgBuf<TInt32> pckgProgressState( aProgressState );
   377         TPckgBuf<TInt32> pckgProgressState( aProgressState );
   378         
   378         if(iMessage.IsNull())
       
   379             return EFalse;
   379         TInt ret = iMessage.Write( 0, pckgDownloadState );
   380         TInt ret = iMessage.Write( 0, pckgDownloadState );
   380 	    if( ret != KErrNone )
   381 	    if( ret != KErrNone )
   381             {
   382             {
   382             CLOG_WRITE_FORMAT( " iMessage.Write( 0, pckgDownloadState ) returned error code: %d", ret )
   383             CLOG_WRITE_FORMAT( " iMessage.Write( 0, pckgDownloadState ) returned error code: %d", ret )
   383 		    iSession->PanicClient( EBadDescriptor );
   384 		    iSession->PanicClient( EBadDescriptor );