fixed invalid invariant check

This commit is contained in:
Arvid Norberg 2008-10-07 03:57:18 +00:00
parent d06fea3d6c
commit 468ec140ac
1 changed files with 1 additions and 1 deletions

View File

@ -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())
{ {