minor tweak

This commit is contained in:
Kurt Zeilenga 2003-05-07 22:22:21 +00:00
parent 45776bff04
commit e64bb13148

View File

@ -1223,12 +1223,12 @@ slapd_daemon_task(
time_t tdelta = 1;
#endif
now = slap_get_time();
if( emfile ) {
now = slap_get_time();
connections_timeout_idle( now );
}
else if ( global_idletimeout > 0 ) {
now = slap_get_time();
} else if ( global_idletimeout > 0 ) {
if ( difftime( last_idle_check+global_idletimeout/SLAPD_IDLE_CHECK_LIMIT, now ) < 0 ) {
connections_timeout_idle( now );
}