From abc5b002a7d1fa6ad4b60eea0281f1c4a095b14a Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 13 Aug 2010 00:55:57 +0000 Subject: [PATCH] blind fix for ITS#6621 --- 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 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 */ -- 2.39.5