From: Howard Chu Date: Sat, 12 Nov 2005 08:18:28 +0000 (+0000) Subject: Fix Win32 typos X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee8a946e8fda14e87b87b4ceda80b8d78e27c77d;p=openldap Fix Win32 typos --- 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