From bbc35bd546ba0df3dd972e244e1eca2b7548d73c Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sat, 16 Apr 2011 22:41:14 +0000 Subject: [PATCH] (trunk libT) use FD_SETSIZE instead of __FD_SETSIZE --- libtransmission/fdlimit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/fdlimit.c b/libtransmission/fdlimit.c index 0831a28af..f74bc0ee2 100644 --- a/libtransmission/fdlimit.c +++ b/libtransmission/fdlimit.c @@ -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;