]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Uh... connection_spawn() takes fr_time_t, not time(NULL)
authorAlan T. DeKok <aland@freeradius.org>
Wed, 8 Sep 2021 12:50:55 +0000 (08:50 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 8 Sep 2021 12:50:55 +0000 (08:50 -0400)
src/lib/server/pool.c

index ab94d2ba99f9debb470ecb7a4bb83c715f890a72..28d15bde81fab1870f255630ee13597b14266cb4 100644 (file)
@@ -1111,7 +1111,7 @@ int fr_pool_start(fr_pool_t *pool)
                 *      Call time() once for each spawn attempt as there
                 *      could be a significant delay.
                 */
-               this = connection_spawn(pool, NULL, time(NULL), false, true);
+               this = connection_spawn(pool, NULL, fr_time(), false, true);
                if (!this) {
                        ERROR("Failed spawning initial connections");
                        return -1;