]> git.sur5r.net Git - openldap/commitdiff
ITS#6405
authorHoward Chu <hyc@openldap.org>
Wed, 2 Dec 2009 19:34:37 +0000 (19:34 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 2 Dec 2009 19:34:37 +0000 (19:34 +0000)
libraries/liblutil/utils.c

index 9fc2c906c2af1ad9979618cbeeab03520976da97..218f03a855a9047e7e5e4ae772ff385177a11b7e 100644 (file)
@@ -379,7 +379,7 @@ lutil_gettime( struct lutil_tm *ltm )
        t = tv.tv_sec;
 
        if ( tv.tv_sec < prevTv.tv_sec
-               || ( tv.tv_sec == prevTv.tv_sec && tv.tv_usec == prevTv.tv_usec )) {
+               || ( tv.tv_sec == prevTv.tv_sec && tv.tv_usec <= prevTv.tv_usec )) {
                subs++;
        } else {
                subs = 0;