Ignore:
Timestamp:
Jan 16, 2009, 5:29:42 PM (13 years ago)
Author:
charles
Message:

(trunk libT) minor tweaks to reduce libtransmission shear between trunk and 1.5x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r7663 r7721  
    130130
    131131void
    132 tr_suspectAddress( const tr_address * a, const char * source )
    133 {
     132tr_suspectAddress( const tr_address * a UNUSED, const char * source UNUSED )
     133{
     134/* this is overkill for a production environment,
     135 * but useful in the nightly builds, so only compile it into the nightlies */
     136#ifdef TR_UNSTABLE
    134137    /* be really aggressive in what we report */
    135138    if( a->type == TR_AF_INET && !( ntohl( a->addr.addr4.s_addr ) & 0xff000000 ) )
     
    157160            tr_err(  "Funny looking address %s from %s", tr_ntop_non_ts( a ), source );
    158161    }
     162#endif
    159163}
    160164
Note: See TracChangeset for help on using the changeset viewer.