]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clarify error message
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 Oct 2023 20:48:08 +0000 (16:48 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 Oct 2023 20:48:08 +0000 (16:48 -0400)
src/lib/server/map.c

index b778d52a179f2492afc82efead4bd8e6ea2e1f1b..09d05be3aa9f92161f601a45aac088879218ffba 100644 (file)
@@ -607,7 +607,7 @@ ssize_t map_afrom_substr(TALLOC_CTX *ctx, map_t **out, map_t **parent_p, fr_sbuf
                         */
                        if (!fr_sbuff_next_if_char(&our_in, '}')) {
                                fr_sbuff_set(&our_in, &m_rhs);
-                               fr_strerror_const("No matching '}'");
+                               fr_strerror_const("Unexpected text before '}'");
                                goto error;
                        }