]> git.sur5r.net Git - openldap/commitdiff
Fix tv.sec typo in last commit. srand(tv.tv_sec * (tv.tv_usec+1))
authorKurt Zeilenga <kurt@openldap.org>
Mon, 9 Aug 1999 19:06:29 +0000 (19:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 9 Aug 1999 19:06:29 +0000 (19:06 +0000)
clients/tools/ldappasswd.c

index b63adeaa33e593fb2c0ec429ce56ba7b2f8ce3a2..6ced63a274fdb2374de2756cc1f7ec3d801291cd 100644 (file)
@@ -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 */