Show
Ignore:
Timestamp:
03/15/10 14:31:50 (2 years ago)
Author:
rakshasa
Message:

* Cleaned up torrent/download.h.

* Removed raw_value as it is redundant.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rtorrent/src/core/download_store.cc

    r1126 r1145  
    139139  // Move this somewhere else? 
    140140  rtorrent_base->insert_key("chunks_done", d->download()->file_list()->completed_chunks()); 
    141   rtorrent_base->insert_key("total_uploaded", d->download()->up_rate()->total()); 
     141  rtorrent_base->insert_key("total_uploaded", d->info()->up_rate()->total()); 
    142142 
    143143  // Don't save for completed torrents when we've cleared the uncertain_pieces. 
     
    215215std::string 
    216216DownloadStore::create_filename(Download* d) { 
    217   return m_path + rak::transform_hex(d->download()->info_hash().begin(), d->download()->info_hash().end()) + ".torrent"; 
    218 } 
    219  
    220 } 
     217  return m_path + rak::transform_hex(d->info()->hash().begin(), d->info()->hash().end()) + ".torrent"; 
     218} 
     219 
     220}