From: Wayne Davison Date: Sun, 6 Jul 2003 18:29:24 +0000 (+0000) Subject: Improve the format of the --iterations output. X-Git-Tag: v2.5.7~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6b42c892ca754fa99a4fb44d78bab2910fc8b08;p=thirdparty%2Frsync.git Improve the format of the --iterations output. --- diff --git a/wildtest.c b/wildtest.c index b5820993..3c40e4ae 100644 --- a/wildtest.c +++ b/wildtest.c @@ -59,8 +59,10 @@ run_test(int line, bool matches, bool same_as_fnmatch, fnmatch_errors++; } #endif - if (output_iterations) - printf("[%s] iterations = %d\n", pattern, wildmatch_iteration_count); + if (output_iterations) { + printf("%d: \"%s\" iterations = %d\n", line, pattern, + wildmatch_iteration_count); + } } int