[svn-commits] tzafrir: tools/trunk r5079 - /tools/trunk/dahdi_test.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 10 13:06:33 CDT 2008


Author: tzafrir
Date: Fri Oct 10 13:06:32 2008
New Revision: 5079

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5079
Log:
make dahdi_test's prints fit in one line.

It makes them slightly less "accurate", but we already use it in the
verbose messages, and dahdi_test is not really accurate.

Modified:
    tools/trunk/dahdi_test.c

Modified: tools/trunk/dahdi_test.c
URL: http://svn.digium.com/view/dahdi/tools/trunk/dahdi_test.c?view=diff&rev=5079&r1=5078&r2=5079
==============================================================================
--- tools/trunk/dahdi_test.c (original)
+++ tools/trunk/dahdi_test.c Fri Oct 10 13:06:32 2008
@@ -139,7 +139,7 @@
 			if (score < worst)
 				worst = score;
 			if (!verbose)
-				printf("%f%% ", score);
+				printf("%.3f%% ", score);
 			total += score;
 			delay_total += 100 - percent;
 			fflush(stdout);




More information about the svn-commits mailing list