Changeset 2452
- Timestamp:
- Jul 21, 2007, 5:35:47 PM (15 years ago)
- Location:
- trunk/libtransmission
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/fdlimit.c
r2343 r2452 330 330 331 331 tr_lockLock( &gFd->lock ); 332 if( ( priority && gFd->reserved < TR_RESERVED_FDS ) || 333 ( !priority && gFd->normal < gFd->normalMax ) ) 334 { 332 333 if( priority && gFd->reserved >= TR_RESERVED_FDS ) 334 priority = FALSE; 335 336 if( priority || ( gFd->normal < gFd->normalMax ) ) 335 337 if( ( s = socket( AF_INET, type, 0 ) ) < 0 ) 336 {337 338 tr_err( "Could not create socket (%s)", strerror( errno ) ); 338 } 339 } 339 340 340 if( s > -1 ) 341 341 { -
trunk/libtransmission/torrent.c
r2441 r2452 970 970 } 971 971 972 h->torrentCount--; 973 974 fprintf(stderr, "closing torrent %s... %d torrents left", 975 tor->info.name, h->torrentCount ); 976 972 977 tr_free( tor ); 973 974 h->torrentCount--;975 978 976 979 tr_sharedUnlock( h->shared );
Note: See TracChangeset
for help on using the changeset viewer.