fixed alert posting typo

This commit is contained in:
Arvid Norberg 2008-07-09 17:40:03 +00:00
parent fc3bb01587
commit 74fd7eea71
1 changed files with 1 additions and 1 deletions

View File

@ -1528,7 +1528,7 @@ namespace libtorrent
if (b == m_download_queue.end())
{
if (t->alerts().should_post<peer_error_alert>())
if (t->alerts().should_post<unwanted_block_alert>())
{
t->alerts().post_alert(unwanted_block_alert(t->get_handle(), m_remote
, m_peer_id, block_finished.block_index, block_finished.piece_index));