]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Better assert message for bad quoting type
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 20 Jan 2024 02:17:03 +0000 (20:17 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 20 Jan 2024 02:17:03 +0000 (20:17 -0600)
src/lib/server/tmpl_tokenize.c

index e89bbe201aebde152121bd8feb6f2c7015b902fc..7271fbf54f08fce994565c73a484ac1335f7aecc 100644 (file)
@@ -3388,7 +3388,7 @@ fr_slen_t tmpl_afrom_substr(TALLOC_CTX *ctx, tmpl_t **out,
                break;
 
        default:
-               fr_assert(0);
+               fr_assert_msg(0, "Unknown quote type %i", quote);
                FR_SBUFF_ERROR_RETURN(&our_in);
        }