(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
1 changed files with 1 additions and 1 deletions

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;