]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
linelog: Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 12 Feb 2023 19:06:12 +0000 (13:06 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 12 Feb 2023 19:06:12 +0000 (13:06 -0600)
src/modules/rlm_linelog/rlm_linelog.c

index 4872e20359763a3f248998c4059262946695734c..e4120f0d1012c511874da21126fa2420e49c5220 100644 (file)
@@ -545,6 +545,7 @@ static xlat_action_t linelog_xlat(TALLOC_CTX *ctx, fr_dcursor_t *out,
 static unlang_action_t CC_HINT(nonnull) mod_do_linelog(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
 {
        rlm_linelog_t const             *inst = talloc_get_type_abort_const(mctx->inst->data, rlm_linelog_t);
+       CONF_SECTION                    *conf = mctx->inst->conf;
 
        char                            buff[4096];
 
@@ -559,6 +560,7 @@ static unlang_action_t CC_HINT(nonnull) mod_do_linelog(rlm_rcode_t *p_result, mo
        size_t                          vector_len;
        bool                            with_delim;
 
+
        if (!inst->log_src && !inst->log_ref) {
                cf_log_err(conf, "A 'format', or 'reference' configuration item must be set to call this module");
                RETURN_MODULE_FAIL;