*** empty log message ***

This commit is contained in:
Arvid Norberg 2004-04-19 20:58:30 +00:00
parent a2b758a20c
commit 6f818ec7c3
2 changed files with 9 additions and 2 deletions

View File

@ -1200,7 +1200,9 @@ namespace libtorrent
assert(m_slot_to_piece[i] == unallocated);
m_unallocated_slots.push_back(i);
}
current_slot += skip_blocks;
// current slot will increase by one at the end of the for-loop too
current_slot += skip_blocks - 1;
}
// Update progress meter and check if we've been requested to abort

View File

@ -649,7 +649,12 @@ namespace libtorrent
void torrent::second_tick(stat& accumulator)
{
if (m_paused) return;
if (m_paused)
{
// let the stats fade out to 0
m_stat.second_tick();
return;
}
m_time_scaler--;
if (m_time_scaler <= 0)