From: Howard Chu Date: Thu, 17 Mar 2005 04:50:19 +0000 (+0000) Subject: Revert prev commit, wrong fix X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~50 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9bfb4e72131833bdd13cf012fd41ee8a7c4d7c1d;p=openldap Revert prev commit, wrong fix --- 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;