Fix ITS#3400, move ebadf declaration

This commit is contained in:
Howard Chu 2004-11-24 05:27:59 +00:00
parent dceaa05c0e
commit 6170a2bbb4

View File

@ -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;