Commit 16fcba1e authored by Howard Chu's avatar Howard Chu
Browse files

ITS#9541 fix typo in util-int.c

From 94fbd968
parent 7b2c9aed
......@@ -298,11 +298,10 @@ ldap_pvt_clock_gettime( int clk_id, struct timespec *tv )
/* emulate POSIX gettimeofday */
int
ldap_pvt_gettimeofday( struct timeval *tv, void *unused )
int
{
struct timespec ts;
ldap_pvt_clock_gettime( 0, &ts );
tv->tv_sec = ts.tv_spec;
tv->tv_sec = ts.tv_sec;
tv->tv_usec = ts.tv_nsec / 1000;
return 0;
}
......
Supports Markdown
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