mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
ITS#3542 - ignore timevals from deferred tasks
This commit is contained in:
parent
9bfb4e7213
commit
3ead49d206
1 changed files with 1 additions and 1 deletions
|
|
@ -1672,7 +1672,7 @@ slapd_daemon_task(
|
|||
}
|
||||
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
|
||||
|
||||
if ( cat != NULL ) {
|
||||
if ( cat && cat->tv_sec ) {
|
||||
time_t diff = difftime( cat->tv_sec, now );
|
||||
if ( diff == 0 )
|
||||
diff = tdelta;
|
||||
|
|
|
|||
Loading…
Reference in a new issue