Fix idle timeout code.

This commit is contained in:
Kurt Zeilenga 1999-09-01 06:37:46 +00:00
parent 7b88ccd954
commit 5b8d286d40

View file

@ -436,7 +436,7 @@ slapd_daemon_task(
)
{
int l;
time_t last_idle_check = slap_get_time();
time( &starttime );
for ( l = 0; slap_listeners[l] != NULL; l++ ) {
@ -471,8 +471,7 @@ slapd_daemon_task(
int ebadf = 0;
#define SLAPD_IDLE_CHECK_LIMIT 4
time_t last_idle_check = slap_get_time();
time_t now;
time_t now = slap_get_time();
fd_set readfds;