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/command_events.cc

    r1139 r1145  
    9595 
    9696    int64_t totalDone   = (*itr)->download()->bytes_done(); 
    97     int64_t totalUpload = (*itr)->download()->up_rate()->total(); 
     97    int64_t totalUpload = (*itr)->info()->up_rate()->total(); 
    9898 
    9999    if (!(totalUpload >= minUpload && totalUpload * 100 >= totalDone * minRatio) && 
     
    265265 
    266266  for (core::View::const_iterator itr = (*viewItr)->begin_visible(), last = (*viewItr)->end_visible(); itr != last; itr++) { 
    267     const torrent::HashString* hashString = &(*itr)->download()->info_hash(); 
     267    const torrent::HashString* hashString = &(*itr)->info()->hash(); 
    268268 
    269269    resultList.push_back(rak::transform_hex(hashString->begin(), hashString->end()));