ports/net/openldap22-server/files/patch-libraries::libldap::os-ip.c
Oliver Eikemeier d6b4e48968 Update to OpenLDAP 2.2.23:
- various fixes (see /usr/local/share/doc/openldap/CHANGES) [1]
- fixed libldap fdset re-init for restart (ITS#3524) [3]
- added ACI support [2]
- added SLPv2 support

PR:		76192 [1], 74906 [2]
Submitted by:	Alex Deiter <tiamat@komi.mts.ru> [1], Rainer Duffner <rainer@ultra-secure.de> [2]
Obtained from:	OpenLDAP CVS [3]
2005-02-03 03:42:06 +00:00

23 lines
454 B
C

--- libraries/libldap/os-ip.c Thu Jan 20 18:01:01 2005
+++ libraries/libldap/os-ip.c Mon Jan 31 16:53:39 2005
@@ -258,15 +258,15 @@
if ( async ) return ( -2 );
#endif
- FD_ZERO(&wfds);
- FD_SET(s, &wfds );
+ do {
+ FD_ZERO(&wfds);
+ FD_SET(s, &wfds );
#ifdef HAVE_WINSOCK
- FD_ZERO(&efds);
- FD_SET(s, &efds );
+ FD_ZERO(&efds);
+ FD_SET(s, &efds );
#endif
- do {
rc = select(ldap_int_tblsize, z, &wfds,
#ifdef HAVE_WINSOCK
&efds,