]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't use time(0) for consistency, use time(NULL)
authorAlan T. DeKok <aland@freeradius.org>
Wed, 8 Sep 2021 12:30:58 +0000 (08:30 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 8 Sep 2021 12:30:58 +0000 (08:30 -0400)
src/lib/util/lst_tests.c

index 68830728e6028c5297c5a99a5c26303082cbb925..0a78459046ff456caa4f26acdcddf66013c41271 100644 (file)
@@ -253,7 +253,7 @@ static void lst_burn_in(void)
        int             element_count = 0;
 
        if (!done_init) {
-               srand((unsigned int) time(0));
+               srand((unsigned int) time(NULL));
                done_init = true;
        }