some debug output

This commit is contained in:
Arvid Norberg 2015-01-13 06:11:42 +00:00
parent b56b3613fe
commit 95f889b247
1 changed files with 6 additions and 0 deletions

View File

@ -6352,6 +6352,12 @@ namespace libtorrent
}
//if (p && p->bytes_downloaded < p->full_block_bytes) TORRENT_ASSERT(in_download_queue);
if (m_outstanding_bytes != outstanding_bytes)
{
fprintf(stderr, "m_outstanding_bytes = %d\noutstanding_bytes = %d\n"
, m_outstanding_bytes, outstanding_bytes);
}
TORRENT_ASSERT(m_outstanding_bytes == outstanding_bytes);
}