1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(trunk libT) use FD_SETSIZE instead of __FD_SETSIZE

This commit is contained in:
Jordan Lee 2011-04-16 22:41:14 +00:00
parent f9d5e7a72c
commit bbc35bd546

View file

@ -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;