mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Really fix gettimeofday usage.
This commit is contained in:
parent
68a569c738
commit
8d821f3904
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user