From: Howard Chu Date: Wed, 2 Dec 2009 19:34:37 +0000 (+0000) Subject: ITS#6405 X-Git-Tag: OPENLDAP_REL_ENG_2_4_21~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e44fe48284189f8852a2712dd6237e00a65253b6;p=openldap ITS#6405 --- diff --git a/libraries/liblutil/utils.c b/libraries/liblutil/utils.c index 9fc2c906c2..218f03a855 100644 --- a/libraries/liblutil/utils.c +++ b/libraries/liblutil/utils.c @@ -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;