fixed broken assert
This commit is contained in:
parent
d1311e2bb8
commit
3b4cccf1dd
|
@ -124,7 +124,7 @@ namespace libtorrent
|
||||||
, m_in_constructor(true)
|
, m_in_constructor(true)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
TORRENT_ASSERT(peerinfo->banned == false);
|
TORRENT_ASSERT(peerinfo == 0 || peerinfo->banned == false);
|
||||||
#ifndef TORRENT_DISABLE_RESOLVE_COUNTRIES
|
#ifndef TORRENT_DISABLE_RESOLVE_COUNTRIES
|
||||||
std::fill(m_country, m_country + 2, 0);
|
std::fill(m_country, m_country + 2, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue