]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Sun, 23 Feb 2025 14:22:12 +0000 (09:22 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 23 Feb 2025 14:22:12 +0000 (09:22 -0500)
src/lib/pair.c

index 590c1e45ec3461ca8e6cdda1eaf23f146d7b5413..704230bd16e6bbf47de5a9e58444f773ebe769d9 100644 (file)
@@ -2006,7 +2006,7 @@ FR_TOKEN fr_pair_list_afrom_str(TALLOC_CTX *ctx, char const *buffer, VALUE_PAIR
                 *      for expansion.
                 */
                if ((raw.quote == T_DOUBLE_QUOTED_STRING) &&
-                   (((q = strchr(raw.r_opand, '%')) != NULL) || !q[1])) {
+                   (((q = strchr(raw.r_opand, '%')) == NULL) || !q[1])) {
                        vp = fr_pair_make(ctx, NULL, raw.l_opand, NULL, raw.op);
                        if (!vp) {
                                last_token = T_INVALID;