From: Alan T. DeKok Date: Wed, 8 Sep 2021 12:50:55 +0000 (-0400) Subject: Uh... connection_spawn() takes fr_time_t, not time(NULL) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1949638c04c9bfc29aa62edc7d597bc4c96dac59;p=thirdparty%2Ffreeradius-server.git Uh... connection_spawn() takes fr_time_t, not time(NULL) --- diff --git a/src/lib/server/pool.c b/src/lib/server/pool.c index ab94d2ba99f..28d15bde81f 100644 --- a/src/lib/server/pool.c +++ b/src/lib/server/pool.c @@ -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;