fixed assert in peer_connection

This commit is contained in:
Arvid Norberg 2008-09-19 02:37:05 +00:00
parent e7df553fdd
commit e85cb90652
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ namespace libtorrent
// may throw an asio error if socket has disconnected
catch (std::exception&) {}
TORRENT_ASSERT(is_interesting() == interested);
TORRENT_ASSERT(in_handshake() || is_interesting() == interested);
}
#ifndef TORRENT_DISABLE_EXTENSIONS