From d0007dc1a2a3d74d20aa21959525168310e95b29 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 3 Oct 2008 18:56:21 +0000 Subject: The first line was getting wrapped after 7 instead of 8. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5041 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- dahdi_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dahdi_test.c') diff --git a/dahdi_test.c b/dahdi_test.c index 9affdb0..c92eac4 100644 --- a/dahdi_test.c +++ b/dahdi_test.c @@ -132,7 +132,8 @@ int main(int argc, char *argv[]) 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; -- cgit v1.2.3