mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
Fix idle timeout code.
This commit is contained in:
parent
7b88ccd954
commit
5b8d286d40
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue