Revert prev commit, wrong fix

This commit is contained in:
Howard Chu 2005-03-17 04:50:19 +00:00
parent d1050c5aa2
commit 9bfb4e7213

View File

@ -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;