diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-09-09 12:54:27 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-09-09 12:54:27 -0400 |
commit | b0695c11ebfff4ca4dc6570e49e27c03ca65e8ab (patch) | |
tree | 357aeae2792ebebbe8045c2045b65e7f3384a427 /src/test | |
parent | 4467799f45346a59c37de9337b24ace361cb8b6a (diff) | |
parent | 45ca0d2bfacc2ab54a5eb580ba8993a6919906a3 (diff) | |
download | tor-b0695c11ebfff4ca4dc6570e49e27c03ca65e8ab.tar.gz tor-b0695c11ebfff4ca4dc6570e49e27c03ca65e8ab.zip |
Merge remote-tracking branch 'public/gcc-295-fix' into maint-0.2.2
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test.c b/src/test/test.c index 9b24a99b58..b5b744eba7 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -455,7 +455,7 @@ test_circuit_timeout(void) timeout1 = circuit_build_times_calculate_timeout(&estimate, CBT_DEFAULT_QUANTILE_CUTOFF/100.0); circuit_build_times_set_timeout(&estimate); - log_notice(LD_CIRC, "Timeout1 is %lf, Xm is %d", timeout1, estimate.Xm); + log_notice(LD_CIRC, "Timeout1 is %f, Xm is %d", timeout1, estimate.Xm); /* 2% error */ } while (fabs(circuit_build_times_cdf(&initial, timeout0) - circuit_build_times_cdf(&initial, timeout1)) > 0.02); @@ -470,7 +470,7 @@ test_circuit_timeout(void) CBT_DEFAULT_QUANTILE_CUTOFF/100.0); circuit_build_times_set_timeout(&final); - log_notice(LD_CIRC, "Timeout2 is %lf, Xm is %d", timeout2, final.Xm); + log_notice(LD_CIRC, "Timeout2 is %f, Xm is %d", timeout2, final.Xm); /* 5% here because some accuracy is lost due to histogram conversion */ test_assert(fabs(circuit_build_times_cdf(&initial, timeout0) - |