From ee8a946e8fda14e87b87b4ceda80b8d78e27c77d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 12 Nov 2005 08:18:28 +0000 Subject: [PATCH] Fix Win32 typos --- servers/slapd/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 0a39cce4cc..9d1df57a12 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -282,7 +282,7 @@ static struct slap_daemon { if (!SLAP_SOCK_IS_WRITE(fd)) { FD_SET((fd), &slap_daemon.sd_writers); } \ } while(0) -# define SLAP_ADDTEST(s) do { } while 0 +# define SLAP_ADDTEST(s) # define SLAP_EVENT_MAX dtblsize # else # define SLAP_SOCK_SET_READ(fd) FD_SET((fd), &slap_daemon.sd_readers) @@ -1678,7 +1678,7 @@ slapd_daemon_task( } #ifdef HAVE_NT_SERVICE_MANAGER - if ( started_event != NULL ) } + if ( started_event != NULL ) { ldap_pvt_thread_cond_signal( &started_event ); } #endif -- 2.39.5