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_factory.cc

    r1144 r1145  
    305305 
    306306  // 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(); 
    308308 
    309309  try { 
     
    383383 
    384384  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")); 
    386386 
    387387  if (rtorrent->has_key_value("chunks_done"))