mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Fix tv.sec typo in last commit. srand(tv.tv_sec * (tv.tv_usec+1))
This commit is contained in:
parent
65ed23a120
commit
3c7f51b77f
1 changed files with 1 additions and 1 deletions
|
|
@ -592,7 +592,7 @@ main (int argc, char *argv[])
|
|||
{
|
||||
struct timeval tv;
|
||||
gettimeofday (&tv, NULL);
|
||||
srand(tv.sec * (tv.tv_usec + 1));
|
||||
srand(tv.tv_sec * (tv.tv_usec + 1));
|
||||
}
|
||||
#else
|
||||
/* The traditional seed */
|
||||
|
|
|
|||
Loading…
Reference in a new issue