From 17cfffdd29526bd7631f1d200589f7982c2e8965 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 17 Aug 2011 12:56:55 -0600 Subject: [PATCH] fix TTL tolerance (ITS#7017, patch by jvcelak@redhat.com) --- servers/slapd/overlays/dds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/dds.c b/servers/slapd/overlays/dds.c index 56d299fdb0..661b30942b 100644 --- a/servers/slapd/overlays/dds.c +++ b/servers/slapd/overlays/dds.c @@ -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 ); -- 2.39.5