]> git.sur5r.net Git - openldap/commitdiff
Revert prev commit, wrong fix
authorHoward Chu <hyc@openldap.org>
Thu, 17 Mar 2005 04:50:19 +0000 (04:50 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 17 Mar 2005 04:50:19 +0000 (04:50 +0000)
servers/slapd/daemon.c

index 731a3d0e1a7e6ef382b935da09bfe71ef4d5ef20..eebc46c6f55a0cad64b8df1c1370ab3ff3847d1f 100644 (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;