Changeset 6425 for trunk/libtransmission/handshake.c
- Timestamp:
- Aug 1, 2008, 4:43:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/handshake.c
r6050 r6425 287 287 public_key = tr_cryptoGetMyPublicKey( handshake->crypto, &len ); 288 288 assert( len == KEY_LEN ); 289 assert( public_key != NULL);289 assert( public_key ); 290 290 evbuffer_add( outbuf, public_key, len ); 291 291 … … 1058 1058 tr_handshakeGetAddr( const struct tr_handshake * handshake, uint16_t * port ) 1059 1059 { 1060 assert( handshake != NULL);1061 assert( handshake->io != NULL);1060 assert( handshake ); 1061 assert( handshake->io ); 1062 1062 1063 1063 return tr_peerIoGetAddress( handshake->io, port );
Note: See TracChangeset
for help on using the changeset viewer.