From: Howard Chu Date: Wed, 24 Nov 2004 05:27:59 +0000 (+0000) Subject: Fix ITS#3400, move ebadf declaration X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~238 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6170a2bbb481e56afe3e05ca81248c99a860d427;p=openldap Fix ITS#3400, move ebadf declaration --- 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;