mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
(trunk libT) use FD_SETSIZE instead of __FD_SETSIZE
This commit is contained in:
parent
f9d5e7a72c
commit
bbc35bd546
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ tr_fdSetFileLimit( tr_session * session, int limit )
|
|||
|
||||
ensureSessionFdInfoExists( session );
|
||||
|
||||
max = __FD_SETSIZE - session->fdInfo->socket_limit - buffer_slots;
|
||||
max = FD_SETSIZE - session->fdInfo->socket_limit - buffer_slots;
|
||||
if( limit > max )
|
||||
limit = max;
|
||||
|
||||
|
|
Loading…
Reference in a new issue