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.1~561 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce7f4f020e7af26b133332946585c7095de707e1;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();