mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +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 );
|
ensureSessionFdInfoExists( session );
|
||||||
|
|
||||||
max = __FD_SETSIZE - session->fdInfo->socket_limit - buffer_slots;
|
max = FD_SETSIZE - session->fdInfo->socket_limit - buffer_slots;
|
||||||
if( limit > max )
|
if( limit > max )
|
||||||
limit = max;
|
limit = max;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue