fixed typo tying file_completed_alert to piece_finished_alert

This commit is contained in:
Arvid Norberg 2012-08-13 03:40:43 +00:00
parent 532e514c00
commit ceed83afde
1 changed files with 1 additions and 1 deletions

View File

@ -3171,7 +3171,7 @@ namespace libtorrent
if (m_owning_storage.get() && m_state == torrent_status::downloading)
m_storage->async_finalize_file(file_index);
if (m_ses.m_alerts.should_post<piece_finished_alert>())
if (m_ses.m_alerts.should_post<file_completed_alert>())
{
// this file just completed, post alert
m_ses.m_alerts.post_alert(file_completed_alert(get_handle()