]> git.sur5r.net Git - openldap/commitdiff
Omit FD_SETSIZE check for Winsock
authorHoward Chu <hyc@openldap.org>
Wed, 13 Apr 2005 07:27:36 +0000 (07:27 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 13 Apr 2005 07:27:36 +0000 (07:27 +0000)
libraries/libldap/os-ip.c

index e8e0c1eb075659f47f4127514c94742c7ee13714..407f5ebad2c1030371bc870cfb6f91fa7b8cade6 100644 (file)
@@ -283,7 +283,7 @@ ldap_pvt_connect(LDAP *ld, ber_socket_t s,
                fd_set          efds;
 #endif
 
-#ifdef FD_SETSIZE
+#if defined( FD_SETSIZE ) && !defined( HAVE_WINSOCK )
                if ( s >= FD_SETSIZE ) {
                        rc = AC_SOCKET_ERROR;
                        tcp_close( s );