mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
ITS#3760 don't select on uninit'd writefds
This commit is contained in:
parent
caefdf007c
commit
58e8817fc1
1 changed files with 2 additions and 1 deletions
|
|
@ -1807,7 +1807,8 @@ slapd_daemon_task(
|
|||
int r, w;
|
||||
|
||||
r = SLAP_EVENT_IS_READ( i );
|
||||
w = SLAP_EVENT_IS_WRITE( i );
|
||||
/* writefds was not initialized if nwriters was zero */
|
||||
w = nwriters ? SLAP_EVENT_IS_WRITE( i ) : 0;
|
||||
if ( r || w ) {
|
||||
Debug( LDAP_DEBUG_CONNS, " %d%s%s", i,
|
||||
r ? "r" : "", w ? "w" : "" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue