forked from premiere/premiere-libtorrent
fixed invalid invariant check
This commit is contained in:
parent
d06fea3d6c
commit
468ec140ac
|
@ -2703,7 +2703,7 @@ namespace libtorrent
|
||||||
|
|
||||||
TORRENT_ASSERT(!m_rc4_encrypted || m_RC4_handler.get());
|
TORRENT_ASSERT(!m_rc4_encrypted || m_RC4_handler.get());
|
||||||
#endif
|
#endif
|
||||||
if (is_seed()) TORRENT_ASSERT(upload_only());
|
if (is_seed() && m_initialized) TORRENT_ASSERT(upload_only());
|
||||||
|
|
||||||
if (!in_handshake())
|
if (!in_handshake())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue