Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
8d821f39
Commit
8d821f39
authored
Oct 27, 1999
by
Kurt Zeilenga
Browse files
Really fix gettimeofday usage.
parent
68a569c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblutil/entropy.c
View file @
8d821f39
...
...
@@ -116,7 +116,7 @@ int lutil_entropy( char *buf, int nbytes )
/* hopefully has good resolution */
#ifdef HAVE_GETTIMEOFDAY
(
void
)
gettimeofday
(
&
rdata
.
tv
,
sizeof
(
rdata
.
tv
)
);
(
void
)
gettimeofday
(
&
rdata
.
tv
,
NULL
);
#else
(
void
)
time
(
&
rdata
.
time
);
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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