From: Alan T. DeKok Date: Mon, 11 Apr 2022 23:00:21 +0000 (-0400) Subject: fix typo in cut&paste. CID #1504002 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb5d2bc3478a3c06e0ad2060fcf3df7bfec6dfb;p=thirdparty%2Ffreeradius-server.git fix typo in cut&paste. CID #1504002 --- diff --git a/src/lib/util/calc.c b/src/lib/util/calc.c index 88b989c14c9..ab73c319919 100644 --- a/src/lib/util/calc.c +++ b/src/lib/util/calc.c @@ -610,7 +610,7 @@ static int calc_bool(UNUSED TALLOC_CTX *ctx, fr_value_box_t *dst, fr_value_box_t a = &one; } - if (a->type != FR_TYPE_BOOL) { + if (b->type != FR_TYPE_BOOL) { if (fr_value_box_cast(NULL, &two, FR_TYPE_BOOL, NULL, b) < 0) return -1; b = &two; }