Ignore:
Timestamp:
Jun 14, 2010, 11:14:58 PM (11 years ago)
Author:
charles
Message:

(trunk libT) remove a pair of unnecessary, but expensive, assert()s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r10508 r10753  
    190190    static const int sizes[2] = { sizeof(struct in_addr), sizeof(struct in6_addr) };
    191191
    192     assert( tr_isAddress( a ) );
    193     assert( tr_isAddress( b ) );
    194 
    195192    /* IPv6 addresses are always "greater than" IPv4 */
    196193    if( a->type != b->type )
Note: See TracChangeset for help on using the changeset viewer.