From: Aki Tuomi Date: Tue, 5 Nov 2024 11:27:46 +0000 (+0200) Subject: lib: test-uri - Print error when RFC URI parsing fails X-Git-Tag: 2.4.0~286 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=670cd81e031ffe6a49b5c9cacb37217eec828a01;p=thirdparty%2Fdovecot%2Fcore.git lib: test-uri - Print error when RFC URI parsing fails --- diff --git a/src/lib/test-uri.c b/src/lib/test-uri.c index 299214da10..4937873385 100644 --- a/src/lib/test-uri.c +++ b/src/lib/test-uri.c @@ -619,7 +619,7 @@ static void test_uri_rfc(void) ret = uri_check(uri_in, URI_PARSE_ALLOW_FRAGMENT_PART, &error); test_out_quiet( - t_strdup_printf("parse [%d] <%s>", i, str_sanitize(uri_in, 64)), + t_strdup_printf("parse [%d] <%s>: %s", i, str_sanitize(uri_in, 64), error), ret >= 0); } T_END; test_end();