From: Ondřej Kuzník Date: Thu, 10 May 2018 10:58:21 +0000 (+0100) Subject: Make syntax highlighting/folding happier X-Git-Url: https://git.sur5r.net/?p=openldap;a=commitdiff_plain;h=77e87690c0b1ad0d7ad95b1283b76f3c0901214b Make syntax highlighting/folding happier --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index cac96da3a0..066c8529ff 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -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",