Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn McKinney
OpenLDAP
Commits
16fcba1e
Commit
16fcba1e
authored
Apr 30, 2021
by
Howard Chu
Browse files
ITS#9541 fix typo in util-int.c
From
94fbd968
parent
7b2c9aed
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/util-int.c
View file @
16fcba1e
...
...
@@ -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_s
p
ec
;
tv
->
tv_sec
=
ts
.
tv_sec
;
tv
->
tv_usec
=
ts
.
tv_nsec
/
1000
;
return
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment