diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-09-09 12:58:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-09-09 12:58:12 -0400 |
commit | a41f1fc6127a688485b90c1fc2bfcbeb59e41f0b (patch) | |
tree | 452abe6e161edc285fea830df0039a1f4efb6de4 /src/test | |
parent | d3ff167e098fa44e4ec30c7e6f50127a8c99dae7 (diff) | |
parent | b0695c11ebfff4ca4dc6570e49e27c03ca65e8ab (diff) | |
download | tor-a41f1fc6127a688485b90c1fc2bfcbeb59e41f0b.tar.gz tor-a41f1fc6127a688485b90c1fc2bfcbeb59e41f0b.zip |
Merge remote-tracking branch 'origin/maint-0.2.2'
Conflicts:
configure.in
src/or/circuitbuild.c
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 605e44ca4d..04e7e02863 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -902,7 +902,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); @@ -917,7 +917,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) - |