Changeset 1145 for trunk/rtorrent/src/core/download_factory.cc
- Timestamp:
- 03/15/10 14:31:50 (2 years ago)
- Files:
-
- 1 modified
-
trunk/rtorrent/src/core/download_factory.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtorrent/src/core/download_factory.cc
r1144 r1145 305 305 306 306 // Save the info-hash just in case the commands decide to delete it. 307 torrent::HashString infohash = download-> download()->info_hash();307 torrent::HashString infohash = download->info()->hash(); 308 308 309 309 try { … … 383 383 384 384 if (rtorrent->has_key_value("total_uploaded")) 385 download-> download()->up_rate()->set_total(rtorrent->get_key_value("total_uploaded"));385 download->info()->mutable_up_rate()->set_total(rtorrent->get_key_value("total_uploaded")); 386 386 387 387 if (rtorrent->has_key_value("chunks_done"))
