aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-09-06 23:14:13 -0400
committerMike Perry <mikeperry-git@fscked.org>2009-09-16 15:55:32 -0700
commit672e2f6908fda52897c9564b756de743692d1d55 (patch)
tree75d0db87f240c4c73d3a386607ec553e74baa535 /src/or/test.c
parent4b3bc714a3f5253470e1feab80bfd30744d34d44 (diff)
downloadtor-672e2f6908fda52897c9564b756de743692d1d55.tar.gz
tor-672e2f6908fda52897c9564b756de743692d1d55.zip
space/indent cleanups, plus point out three bugs
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 7228425241..06bfccece6 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -3472,7 +3472,7 @@ test_circuit_timeout(void)
log_warn(LD_CIRC, "Timeout is %lf, Xm is %d", timeout2, final.Xm);
test_assert(fabs(circuit_build_times_cdf(&initial, timeout0) -
- circuit_build_times_cdf(&initial, timeout2)) < 0.05);
+ circuit_build_times_cdf(&initial, timeout2)) < 0.05);
/* Generate MAX_RECENT_TIMEOUT_RATE*RECENT_CIRCUITS timeouts
* and 1-that regular values. Then check for timeout error
@@ -3491,10 +3491,10 @@ test_circuit_timeout(void)
for (i = 0; i < MAX_RECENT_TIMEOUT_RATE*RECENT_CIRCUITS; i++) {
circuit_build_times_add_timeout_worker(&estimate,
- BUILDTIMEOUT_QUANTILE_CUTOFF);
+ BUILDTIMEOUT_QUANTILE_CUTOFF);
if (i < MAX_RECENT_TIMEOUT_RATE*RECENT_CIRCUITS-1) {
circuit_build_times_add_timeout_worker(&final,
- BUILDTIMEOUT_QUANTILE_CUTOFF);
+ BUILDTIMEOUT_QUANTILE_CUTOFF);
}
}