mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
removed an assertion that depended on valid input from a peer in order to be true.
This commit is contained in:
parent
b6483cbf3f
commit
3a6985195d
1 changed files with 0 additions and 1 deletions
|
@ -653,7 +653,6 @@ readHandshake( tr_handshake * handshake, struct evbuffer * inbuf )
|
|||
}
|
||||
else /* outgoing */
|
||||
{
|
||||
assert( tr_torrentExists( handshake->handle, hash ) );
|
||||
assert( tr_peerIoHasTorrentHash( handshake->io ) );
|
||||
if( memcmp( hash, tr_peerIoGetTorrentHash(handshake->io), SHA_DIGEST_LENGTH ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue