From 9bfb4e72131833bdd13cf012fd41ee8a7c4d7c1d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 17 Mar 2005 04:50:19 +0000 Subject: [PATCH] Revert prev commit, wrong fix --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 731a3d0e1a..eebc46c6f5 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1674,7 +1674,7 @@ slapd_daemon_task( if ( cat != NULL ) { time_t diff = difftime( cat->tv_sec, now ); - if ( diff < 1 ) + if ( diff == 0 ) diff = tdelta; if ( tvp == NULL || diff < tv.tv_sec ) { tv.tv_sec = diff; -- 2.39.5