]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
F'ing copilot
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 12 May 2024 18:17:58 +0000 (12:17 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 12 May 2024 18:17:58 +0000 (12:17 -0600)
src/modules/rlm_sql/rlm_sql.c

index ad037ea948d0c207d4c26c917ca015fd15a3a87e..0ea3b998dff8f725f19db05236c9ff6d91bf03eb 100644 (file)
@@ -1859,12 +1859,13 @@ static int mod_instantiate(module_inst_ctx_t const *mctx)
         *
         *      This is absolutely fine, and was taken into account in
         *      the design of the module code.  The main instantiation
-        *      loop, will not call the driver's instantiate function
+        *      loop, will not call the driver's instantiate function,
         *      twice.
         *
         *      This is only a problem in rlm_sql.  The other users of
         *      connection pool either don't have submodules or have
-        *      the submodules call module_instantiate() themselves.
+        *      the submodules call module_rlm_connection_pool_init()
+        *      themselves.
         */
        if (unlikely(module_instantiate(inst->driver_submodule) < 0)) {
                cf_log_err(conf, "Failed instantiating driver module");