Merge up from branch.
[shibboleth/cpp-sp.git] / oncrpc / svc_tcp.c
index 5f77b67..79c3be7 100644 (file)
@@ -65,7 +65,6 @@ int xabort();
 extern bool_t abort();
 extern errno;
 #endif
-
 /*
  * Ops vector for TCP/IP based rpc service handle
  */
@@ -363,7 +362,7 @@ readtcp(xprt, buf, len)
 #ifdef WIN32
                if (select(0 /* unused in winsock */, &readfds, (int*)NULL, (int*)NULL,
 #else
-               if (select(_rpc_dtablesize(), &readfds, NULL, NULL, 
+               if (select(FD_SETSIZE, &readfds, NULL, NULL, 
 #endif
                           &wait_per_try) <= 0) {
 #ifdef WIN32