Commit 127e5040 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#6405 in ldap_pvt_gettime, also check for microsecs going backward

parent 4d0ff8f7
......@@ -289,7 +289,7 @@ ldap_pvt_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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment