diff --git a/src/torrent.cpp b/src/torrent.cpp index acc3b7c26..425307cec 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -1779,7 +1779,7 @@ namespace libtorrent if (j.offset >= 0 && !m_picker->have_piece(j.offset)) we_have(j.offset); - remove_time_critical_piece(j.piece); + remove_time_critical_piece(j.offset); // we're not done checking yet // this handler will be called repeatedly until