From: Alan T. DeKok Date: Thu, 10 Feb 2022 13:57:28 +0000 (-0500) Subject: typo X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d5ed7d96e75a5683a7cbe8967228140192a59ac;p=thirdparty%2Ffreeradius-server.git typo --- diff --git a/src/lib/util/types.c b/src/lib/util/types.c index 40ad87c4bc4..f1aa304f8ba 100644 --- a/src/lib/util/types.c +++ b/src/lib/util/types.c @@ -467,7 +467,7 @@ static fr_type_t type_promote_table[FR_TYPE_MAX][FR_TYPE_MAX] = { */ fr_type_t fr_type_promote(fr_type_t a, fr_type_t b) { - if (!fr_type_is_leaf(a) || (fr_type_is_leaf(b))) return FR_TYPE_NULL; + if (!fr_type_is_leaf(a) || !fr_type_is_leaf(b)) return FR_TYPE_NULL; if (a == b) return a;