[svn-commits] seanbright: tools/trunk r5041 - /tools/trunk/dahdi_test.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 3 13:56:21 CDT 2008


Author: seanbright
Date: Fri Oct  3 13:56:21 2008
New Revision: 5041

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5041
Log:
The first line was getting wrapped after 7 instead of 8.

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=5041&r1=5040&r2=5041
==============================================================================
--- tools/trunk/dahdi_test.c (original)
+++ tools/trunk/dahdi_test.c Fri Oct  3 13:56:21 2008
@@ -132,7 +132,8 @@
 			if (verbose)
 				printf("\n%d samples in %0.3f system clock sample intervals (%.3f%%)", 
 						count, ms, 100 - percent);
-			else if ((pass % 8) == 7) printf("\n");
+			else if (pass > 0 && (pass % 8) == 0)
+				printf("\n");
 			score = 100.0 - fabs(percent);
 			if (score > best)
 				best = score;




More information about the svn-commits mailing list