]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
it helps to set "triple"
authorAlan T. DeKok <aland@freeradius.org>
Fri, 22 Nov 2024 20:55:11 +0000 (15:55 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 22 Nov 2024 21:30:03 +0000 (16:30 -0500)
src/lib/util/token.c

index 3c063dda7a7ca41e0fa7c60c564e67e3fb7f3db5..8acd36299d8ad726735ceffea5a6ed233cebe9fc 100644 (file)
@@ -322,6 +322,7 @@ static fr_token_t getthing(char const **ptr, char *buf, int buflen, bool tok,
                 */
                if ((buflen >= 3) && (p[1] == quote) && (p[2] == quote)) {
                        p += 3;
+                       triple = true;
                }
 
                p++;
@@ -363,7 +364,6 @@ static fr_token_t getthing(char const **ptr, char *buf, int buflen, bool tok,
                                p++;
                                *s++ = 0;
                                goto done;
-
                        }
 
                        if ((buflen >= 3) && (p[1] == quote) && (p[2] == quote)) {