From 6b4fcfcd38bb78a9ba6829796fc5280242f62785 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 31 May 2009 10:43:29 +0000 Subject: [PATCH] fixed assert --- src/peer_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peer_connection.cpp b/src/peer_connection.cpp index 80667664f..98f7385c4 100644 --- a/src/peer_connection.cpp +++ b/src/peer_connection.cpp @@ -1977,7 +1977,7 @@ namespace libtorrent #endif } } - TORRENT_ASSERT(int(m_download_queue.size()) > block_index + 1); + TORRENT_ASSERT(int(m_download_queue.size()) > block_index); b = m_download_queue.begin() + block_index; TORRENT_ASSERT(*b == pending_b);