From 3a6985195d75cd7281743575a7cbfd309ecb2fc9 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 5 Oct 2007 05:53:00 +0000 Subject: [PATCH] removed an assertion that depended on valid input from a peer in order to be true. --- libtransmission/handshake.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libtransmission/handshake.c b/libtransmission/handshake.c index 9c67e42b5..dae7f5c3d 100644 --- a/libtransmission/handshake.c +++ b/libtransmission/handshake.c @@ -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 ) ) {