From f0372748e81e57a3fd64a67d321ecd311b251669 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 18 Nov 2004 23:08:57 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/daemon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 04e285e056..79e0e85084 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -163,11 +163,11 @@ static struct slap_daemon { rc = epoll_ctl(slap_daemon.sd_epfd, EPOLL_CTL_ADD, s, \ &SLAP_SOCK_EP(s)); \ if ( rc == 0 ) slap_daemon.sd_nfds++; \ - else { - Debug( LDAP_DEBUG_ANY, "daemon: epoll_ctl ADD failed, errno %d, shutting down\n" - errno, 0, 0 ); + else { \ + Debug( LDAP_DEBUG_ANY, "daemon: epoll_ctl ADD failed, errno %d, shutting down\n", \ + errno, 0, 0 ); \ slapd_shutdown = 2; \ - } + } \ } while(0) #define SLAP_EV_LISTENER(ptr) (((int *)(ptr) >= slap_daemon.sd_index && \ -- 2.39.5