From 77e87690c0b1ad0d7ad95b1283b76f3c0901214b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Thu, 10 May 2018 11:58:21 +0100 Subject: [PATCH] Make syntax highlighting/folding happier --- servers/slapd/daemon.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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", -- 2.39.2