Changeset 2177 for trunk/libtransmission/shared.c
- Timestamp:
- Jun 21, 2007, 2:47:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/shared.c
r1725 r2177 294 294 } 295 295 296 tr_swiftPulse ( s->h ); 297 296 298 /* Wait up to 20 ms */ 297 299 date2 = tr_date(); … … 383 385 { 384 386 tr_handle_t * h = s->h; 385 tr_torrent_t * tor;386 uint8_t * hash;387 387 int ii; 388 uint64_t now = tr_date();388 const uint64_t now = tr_date(); 389 389 390 390 for( ii = 0; ii < s->peerCount; ) 391 391 { 392 hash = tr_peerHash( s->peers[ii] );392 const uint8_t * hash = tr_peerHash( s->peers[ii] ); 393 393 394 394 if( !hash && now > tr_peerDate( s->peers[ii] ) + 10000 ) … … 400 400 if( hash ) 401 401 { 402 tr_torrent_t * tor; 403 402 404 for( tor = h->torrentList; tor; tor = tor->next ) 403 405 {
Note: See TracChangeset
for help on using the changeset viewer.