diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2009-09-16 18:41:22 -0700 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2009-09-16 18:41:22 -0700 |
commit | 43c18746bd4be9db4ad68312e9e62031f056bc10 (patch) | |
tree | a4d3ee2974e79f26351e309a5450d8ee4bdb5a48 /src/or/test.c | |
parent | 1aac7de1ea8cacf2d93f25dc7a4366350035c91c (diff) | |
download | tor-43c18746bd4be9db4ad68312e9e62031f056bc10.tar.gz tor-43c18746bd4be9db4ad68312e9e62031f056bc10.zip |
Clarify use of magic number 0.98 with #define.
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c index df7bead4b3..cf00c080d4 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -3444,7 +3444,8 @@ test_circuit_timeout(void) int n = 0; for (i=0; i < MIN_CIRCUITS_TO_OBSERVE; i++) { if (circuit_build_times_add_time(&estimate, - circuit_build_times_generate_sample(&initial, 0, .98)) == 0) { + circuit_build_times_generate_sample(&initial, 0, + MAX_SYNTHETIC_QUANTILE)) == 0) { n++; } } |