]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use CF_IDENT_ANY for finding the thread pool
authorAlan T. DeKok <aland@freeradius.org>
Tue, 20 Jun 2017 17:29:23 +0000 (13:29 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 20 Jun 2017 17:31:59 +0000 (13:31 -0400)
src/main/threads.c

index d2e07de8eaa5cc799032c340bc53b8330ab8f1a7..bb781c4a5e609eef2dcef06ab0ed41cfd8243543 100644 (file)
@@ -762,7 +762,7 @@ int thread_pool_bootstrap(CONF_SECTION *cs, bool *spawn_workers)
        memset(&thread_pool, 0, sizeof(THREAD_POOL));
        thread_pool.spawn_workers = *spawn_workers;
 
-       pool_cf = cf_section_find(cs, "thread", NULL);
+       pool_cf = cf_section_find(cs, "thread", CF_IDENT_ANY);
 #ifdef WITH_GCD
        if (pool_cf) {
                WARN("Built with Grand Central Dispatch.  Ignoring 'thread' subsection");