]> granicus.if.org Git - transmission/commitdiff
(trunk libT) remove unneeded assert()ion
authorJordan Lee <jordan@transmissionbt.com>
Sun, 10 Apr 2011 05:22:18 +0000 (05:22 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sun, 10 Apr 2011 05:22:18 +0000 (05:22 +0000)
libtransmission/handshake.c

index c64640aa9c761cd365d17c6a57ac4203641f5b5f..57d3cbc2091b4c29669ab86ee3555a6afcce89aa 100644 (file)
@@ -234,7 +234,6 @@ buildHandshakeMessage( tr_handshake * handshake, uint8_t * buf )
     memcpy( walk, peer_id, PEER_ID_LEN );
     walk += PEER_ID_LEN;
 
-    assert( strlen( ( const char* )peer_id ) == PEER_ID_LEN );
     assert( walk - buf == HANDSHAKE_SIZE );
 }