From: Alan T. DeKok Date: Mon, 6 Jun 2022 20:32:16 +0000 (-0400) Subject: let's use the enum X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=360d4a6a42a7cc61e74cea7d383252c3891027ea;p=thirdparty%2Ffreeradius-server.git let's use the enum --- diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index a889cecdafc..8a42adae42e 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -953,7 +953,7 @@ static xlat_action_t xlat_logical_process_arg(TALLOC_CTX *ctx, fr_dcursor_t *out if (rctx->box->type != FR_TYPE_BOOL) { fr_value_box_clear(rctx->box); - fr_value_box_init(rctx->box, FR_TYPE_BOOL, NULL, false); + fr_value_box_init(rctx->box, FR_TYPE_BOOL, attr_expr_bool_enum, false); } vp = tmpl_dcursor_init(NULL, NULL, &cc, &cursor, request, node->vpt);