From bcf136dd07f3cb914c73c12c1d7231cf965a45be Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Sat, 28 Feb 2026 10:36:21 -0500 Subject: [PATCH] typos in pair_tokenize.c --- src/lib/util/pair_tokenize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/pair_tokenize.c b/src/lib/util/pair_tokenize.c index 08b15f75098..5a2c8d875b1 100644 --- a/src/lib/util/pair_tokenize.c +++ b/src/lib/util/pair_tokenize.c @@ -202,7 +202,7 @@ static ssize_t fr_pair_afrom_str(fr_pair_ctx_t *pair_ctx, char const *start, cha return -(in - start); } - while ((isspace((uint8_t) *p)) && (p < end)) p++; + while ((p < end) && isspace((uint8_t) *p)) p++; if (p >= end) { fr_strerror_const("No operator found in the input buffer"); @@ -215,7 +215,7 @@ static ssize_t fr_pair_afrom_str(fr_pair_ctx_t *pair_ctx, char const *start, cha slen = op_to_token(&op, p, (end - p)); if (slen <= 0) { fr_strerror_const("Syntax error: expected '='"); - return slen - -(p - start); + return slen - (p - start); } p += slen; -- 2.47.3