From: Arran Cudbard-Bell Date: Wed, 6 Mar 2024 20:58:00 +0000 (-0600) Subject: Fix quoting X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad7c3e9254a8c0a4737bebb8ec05f72df993e370;p=thirdparty%2Ffreeradius-server.git Fix quoting --- diff --git a/src/lib/util/pair.c b/src/lib/util/pair.c index 680b2b30a66..e5720a23c83 100644 --- a/src/lib/util/pair.c +++ b/src/lib/util/pair.c @@ -2086,7 +2086,8 @@ void fr_pair_validate_debug(TALLOC_CTX *ctx, fr_pair_t const *failed[2]) if (!value || !str) return; #endif - fr_strerror_printf("Attribute value \"%s\" didn't match filter: %s", value, str); + fr_strerror_printf("Attribute value \"%pV\" didn't match filter: \"%pV\"", + fr_box_strvalue_buffer(value), fr_box_strvalue_buffer(str)); talloc_free(str); talloc_free(value);