only post peer error alerts for actual errors
This commit is contained in:
@@ -3351,9 +3351,7 @@ namespace libtorrent
|
||||
|
||||
if (ec)
|
||||
{
|
||||
if ((error > 1
|
||||
|| ec.category() == get_libtorrent_category()
|
||||
|| ec.category() == socks_category)
|
||||
if ((error > 1 || ec.category() == socks_category)
|
||||
&& m_ses.m_alerts.should_post<peer_error_alert>())
|
||||
{
|
||||
m_ses.m_alerts.post_alert(
|
||||
|
Reference in New Issue
Block a user