forked from premiere/premiere-libtorrent
fixed typo tying file_completed_alert to piece_finished_alert
This commit is contained in:
parent
532e514c00
commit
ceed83afde
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue