]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jul 2021 11:57:58 +0000 (07:57 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 29 Jul 2021 11:57:58 +0000 (07:57 -0400)
src/lib/server/pool.c

index c828724b2feb0b509e6a3c5fb445ad208278d9c7..ef7de91b59cd8ee87a688720f2748e75a5338c3d 100644 (file)
@@ -679,7 +679,7 @@ static int connection_check(fr_pool_t *pool, request_t *request)
         *      But if we're already at "min", then don't spawn more,
         *      and we don't have any extra idle connections.
         */
-       } else if ((pool->num + pool->pending) >= pool->min) {
+       } else if ((pool->state.num + pool->state.pending) >= pool->min) {
                spawn = 0;
                extra = 0;