Make syntax highlighting/folding happier

This commit is contained in:
Ondřej Kuzník 2018-05-10 11:58:21 +01:00
parent 0ba50a1d06
commit 77e87690c0

View file

@ -2977,10 +2977,11 @@ loop:
}
#ifdef HAVE_KQUEUE
if ( SLAP_EVENT_IS_WRITE( tid, i ) ) {
if ( SLAP_EVENT_IS_WRITE( tid, i ) )
#else
if ( SLAP_EVENT_IS_WRITE( i ) ) {
if ( SLAP_EVENT_IS_WRITE( i ) )
#endif /* HAVE_KQUEUE */
{
Debug( LDAP_DEBUG_CONNS,
"daemon: write active on %d\n",
fd, 0, 0 );
@ -3000,10 +3001,11 @@ loop:
}
/* If event is a read */
#ifdef HAVE_KQUEUE
if ( SLAP_EVENT_IS_READ( tid, i )) {
if ( SLAP_EVENT_IS_READ( tid, i ))
#else
if ( SLAP_EVENT_IS_READ( i )) {
if ( SLAP_EVENT_IS_READ( i ))
#endif /* HAVE_KQUEUE */
{
r = 1;
Debug( LDAP_DEBUG_CONNS,
"daemon: read active on %d\n",