diff options
author | Sean Bright <sean@malleable.com> | 2008-10-03 18:56:21 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2008-10-03 18:56:21 +0000 |
commit | d0007dc1a2a3d74d20aa21959525168310e95b29 (patch) | |
tree | 86d35b8d387a53db304569ed928ceb9405d72e70 /dahdi_test.c | |
parent | 0b6c6503b2f0c097b843b074003e731c64360ff7 (diff) |
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
Diffstat (limited to 'dahdi_test.c')
-rw-r--r-- | dahdi_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |