Changeset 7721
- Timestamp:
- Jan 16, 2009, 5:29:42 PM (12 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/net.c
r7663 r7721 130 130 131 131 void 132 tr_suspectAddress( const tr_address * a, const char * source ) 133 { 132 tr_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 134 137 /* be really aggressive in what we report */ 135 138 if( a->type == TR_AF_INET && !( ntohl( a->addr.addr4.s_addr ) & 0xff000000 ) ) … … 157 160 tr_err( "Funny looking address %s from %s", tr_ntop_non_ts( a ), source ); 158 161 } 162 #endif 159 163 } 160 164 -
trunk/libtransmission/peer-msgs.c
r7710 r7721 1621 1621 1622 1622 default: 1623 ret = READ_ERR; 1623 1624 assert( 0 ); 1624 1625 } -
trunk/libtransmission/web.c
r7658 r7721 129 129 curl_easy_setopt( easy, CURLOPT_CONNECTTIMEOUT, 120L ); 130 130 curl_easy_setopt( easy, CURLOPT_FOLLOWLOCATION, 1L ); 131 curl_easy_setopt( easy, CURLOPT_FORBID_REUSE, 1L ); 131 132 curl_easy_setopt( easy, CURLOPT_NOSIGNAL, 1L ); 132 133 curl_easy_setopt( easy, CURLOPT_PRIVATE, task );
Note: See TracChangeset
for help on using the changeset viewer.