Skip to content

Commit

Permalink
Fix const inssue in rlm_csv
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed May 12, 2024
1 parent 6a3bc86 commit 9c86ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_csv/rlm_csv.c
Expand Up @@ -978,7 +978,7 @@ static rlm_rcode_t mod_map_apply(rlm_csv_t const *inst, request_t *request,
static unlang_action_t mod_map_proc(rlm_rcode_t *p_result, void const *mod_inst, UNUSED void *proc_inst, request_t *request,
fr_value_box_list_t *key, map_list_t const *maps)
{
rlm_csv_t *inst = talloc_get_type_abort(mod_inst, rlm_csv_t);
rlm_csv_t const *inst = talloc_get_type_abort_const(mod_inst, rlm_csv_t);
fr_value_box_t *key_head = fr_value_box_list_head(key);

if (!key_head) {
Expand Down

0 comments on commit 9c86ca5

Please sign in to comment.