diff --git a/libtorrent/src/piece_picker.cpp b/libtorrent/src/piece_picker.cpp index 61064e65e..2fbe94c96 100755 --- a/libtorrent/src/piece_picker.cpp +++ b/libtorrent/src/piece_picker.cpp @@ -1781,7 +1781,7 @@ namespace libtorrent if (m_piece_map[block.piece_index].downloading == 0) mark_as_downloading(block, peer, piece_picker::none); - TORRENT_ASSERT(m_piece_map[block.piece_index].downloaing); + TORRENT_ASSERT(m_piece_map[block.piece_index].downloading); std::vector::iterator i = std::find_if(m_downloads.begin(), m_downloads.end(), has_index(block.piece_index));