mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-01 11:29:27 -05:00
Make sure tblsize in initialized in ldap_new_select_info()
Regenerate configure.
This commit is contained in:
parent
b5494457d8
commit
86fc474a50
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue