From 6170a2bbb481e56afe3e05ca81248c99a860d427 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 24 Nov 2004 05:27:59 +0000 Subject: [PATCH] Fix ITS#3400, move ebadf declaration --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 0b9e408716..b4755a80b2 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1480,6 +1480,7 @@ slapd_daemon_task( int l; time_t last_idle_check = 0; struct timeval idle; + int ebadf = 0; #define SLAPD_IDLE_CHECK_LIMIT 4 @@ -1570,7 +1571,6 @@ slapd_daemon_task( int at; ber_socket_t nfds, nrfds, nwfds; #define SLAPD_EBADF_LIMIT 16 - int ebadf = 0; time_t now; -- 2.39.5