mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Import ITS#3542 fix from HEAD
This commit is contained in:
parent
ded6be6b73
commit
e08969eb23
1 changed files with 1 additions and 1 deletions
|
|
@ -1383,7 +1383,7 @@ slapd_daemon_task(
|
|||
}
|
||||
ldap_pvt_thread_mutex_unlock( &syncrepl_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