*** empty log message ***
This commit is contained in:
parent
a2b758a20c
commit
6f818ec7c3
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue