From: Alan T. DeKok Date: Sat, 18 May 2024 20:50:17 +0000 (-0400) Subject: fix typo. X-Git-Tag: release_3_2_4~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f77da1b696d137ad3f201c8bad55bd105b7e55d8;p=thirdparty%2Ffreeradius-server.git fix typo. We loop until the content is non-space, not while the ptr is !NULL --- diff --git a/src/modules/rlm_unpack/rlm_unpack.c b/src/modules/rlm_unpack/rlm_unpack.c index dfdc81a8091..03cdb922b6f 100644 --- a/src/modules/rlm_unpack/rlm_unpack.c +++ b/src/modules/rlm_unpack/rlm_unpack.c @@ -287,7 +287,7 @@ static ssize_t substring_xlat(UNUSED void *instance, REQUEST *request, /* * Trim whitespace */ - while (isspace((uint8_t) *p) && p++); + while (isspace((uint8_t) *p)) p++; /* * Find numeric parameters at the end.