From ccfead4e6cc1e11b71038a9123e66acae0ceacbe Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Sat, 13 Sep 2008 02:24:10 +0000 Subject: [PATCH] fix invariant --- libtorrent/src/torrent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtorrent/src/torrent.cpp b/libtorrent/src/torrent.cpp index b5c43d918..6812071b9 100755 --- a/libtorrent/src/torrent.cpp +++ b/libtorrent/src/torrent.cpp @@ -754,13 +754,13 @@ namespace libtorrent m_progress = j.piece / float(torrent_file().num_pieces()); - m_picker->check_invariant(); +// m_picker->check_invariant(); TORRENT_ASSERT(m_picker); if (j.offset >= 0 && !m_picker->have_piece(j.offset)) m_picker->we_have(j.offset); - m_picker->check_invariant(); +// m_picker->check_invariant(); // we're not done checking yet // this handler will be called repeatedly until