mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
Fix writefds init on Windows
This commit is contained in:
parent
44e9209629
commit
9aa064434c
1 changed files with 3 additions and 1 deletions
|
|
@ -232,7 +232,9 @@ static struct slap_daemon {
|
|||
#define SLAP_EVENT_INIT \
|
||||
AC_MEMCPY( &readfds, &slap_daemon.sd_readers, sizeof(fd_set) ); \
|
||||
if ( nwriters ) \
|
||||
AC_MEMCPY( &writefds, &slap_daemon.sd_writers, sizeof(fd_set) )
|
||||
AC_MEMCPY( &writefds, &slap_daemon.sd_writers, sizeof(fd_set) ); \
|
||||
else \
|
||||
FD_ZERO( &writefds )
|
||||
|
||||
#ifdef FD_SETSIZE
|
||||
#define CHK_SETSIZE \
|
||||
|
|
|
|||
Loading…
Reference in a new issue