From 93e204223d2dcefc94b642d8ecd9a3d9d7f9d2de Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 4 Jul 2009 05:06:50 +0000 Subject: [PATCH] removed debug printouts --- src/torrent.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index 2fd889c81..2608b7eef 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -1798,8 +1798,6 @@ namespace libtorrent TORRENT_ASSERT(m_picker); TORRENT_ASSERT(!have_piece(index)); - std::cerr << "[" << this << "] GOT PIECE " << index << std::endl; - const int piece_size = m_torrent_file->piece_length(); size_type off = size_type(index) * piece_size; file_storage::iterator f = m_torrent_file->files().file_at_offset(off); @@ -1812,7 +1810,6 @@ namespace libtorrent TORRENT_ASSERT(file_offset < f->size); int add = (std::min)(f->size - file_offset, (size_type)size); m_file_progress[file_index] += add; - std::cerr << " adding " << add << " to " << file_index << std::endl; TORRENT_ASSERT(m_file_progress[file_index] <= m_torrent_file->files().at(file_index).size);