Changeset 1145 for trunk/rtorrent/src/core/download_store.cc
- Timestamp:
- 03/15/10 14:31:50 (2 years ago)
- Files:
-
- 1 modified
-
trunk/rtorrent/src/core/download_store.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/src/core/download_store.cc
r1126 r1145 139 139 // Move this somewhere else? 140 140 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()); 142 142 143 143 // Don't save for completed torrents when we've cleared the uncertain_pieces. … … 215 215 std::string 216 216 DownloadStore::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 }
