From: Kurt Zeilenga Date: Mon, 9 Aug 1999 19:06:29 +0000 (+0000) Subject: Fix tv.sec typo in last commit. srand(tv.tv_sec * (tv.tv_usec+1)) X-Git-Tag: TWEB_OL_BASE~240 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c7f51b77f82b19f88fafbbc7272e96ee8ecbff8;p=openldap Fix tv.sec typo in last commit. srand(tv.tv_sec * (tv.tv_usec+1)) --- diff --git a/clients/tools/ldappasswd.c b/clients/tools/ldappasswd.c index b63adeaa33..6ced63a274 100644 --- a/clients/tools/ldappasswd.c +++ b/clients/tools/ldappasswd.c @@ -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 */