From: Alan T. DeKok Date: Sat, 28 Feb 2026 15:36:21 +0000 (-0500) Subject: typos in pair_tokenize.c X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bcf136dd0;p=thirdparty%2Ffreeradius-server.git typos in pair_tokenize.c --- 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;