mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix TTL tolerance (ITS#7017, patch by jvcelak@redhat.com)
This commit is contained in:
parent
fb83bf08bc
commit
17cfffdd29
@ -156,7 +156,7 @@ dds_expire( void *ctx, dds_info_t *di )
|
||||
op->ors_slimit = SLAP_NO_LIMIT;
|
||||
op->ors_attrs = slap_anlist_no_attrs;
|
||||
|
||||
expire = slap_get_time() + di->di_tolerance;
|
||||
expire = slap_get_time() - di->di_tolerance;
|
||||
ts.bv_val = tsbuf;
|
||||
ts.bv_len = sizeof( tsbuf );
|
||||
slap_timestamp( &expire, &ts );
|
||||
|
Loading…
Reference in New Issue
Block a user