From: Kurt Zeilenga Date: Mon, 16 Nov 1998 23:55:37 +0000 (+0000) Subject: Make sure tblsize in initialized in ldap_new_select_info() X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86fc474a500d78571ecc5fa0cad1827db796a71f;p=openldap Make sure tblsize in initialized in ldap_new_select_info() Regenerate configure. --- diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c index e1ebac2661..b56809cda4 100644 --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -293,6 +293,8 @@ do_ldap_select( LDAP *ld, struct timeval *timeout ) tblsize = sysconf( _SC_OPEN_MAX ); #elif defined( HAVE_GETDTABLESIZE ) tblsize = getdtablesize(); +#else + tblsize = FD_SETSIZE; #endif /* !USE_SYSCONF */ #ifdef FD_SETSIZE