mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
(trunk libT) remove unneeded assert()ion
This commit is contained in:
parent
05b75e6e9f
commit
d6dbf87652
1 changed files with 0 additions and 1 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue