From: Pierangelo Masarati Date: Fri, 13 Aug 2010 00:55:57 +0000 (+0000) Subject: blind fix for ITS#6621 X-Git-Tag: MIGRATION_CVS2GIT~522 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=abc5b002a7d1fa6ad4b60eea0281f1c4a095b14a;p=openldap blind fix for ITS#6621 --- diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 65d21dee8e..1693b3f243 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -521,7 +521,7 @@ static slap_daemon_st slap_daemon[MAX_DAEMON_THREADS]; # define SLAP_EVENT_WAIT(t, tvp, nsp) do { \ int i; \ - *(nsp) = select( SLAP_EVENT_MAX, &readfds, \ + *(nsp) = select( SLAP_EVENT_MAX(t), &readfds, \ nwriters > 0 ? &writefds : NULL, NULL, (tvp) ); \ for ( i=0; i 0 ? &writefds : NULL, NULL, (tvp) ); \ } while (0) # endif /* !HAVE_WINSOCK */