summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2010-01-21 16:10:02 -0800
committerMike Perry <mikeperry-git@fscked.org>2010-02-18 09:08:31 -0800
commit2258125e1af78983c2735e7f2b3d90690b45b328 (patch)
tree45dc7adcb58413a0e077cda82e30a2d67bdbc64a /src/or/control.c
parentf459388c29d1a072e1809265ccd252671975edeb (diff)
downloadtor-2258125e1af78983c2735e7f2b3d90690b45b328.tar.gz
tor-2258125e1af78983c2735e7f2b3d90690b45b328.zip
Move CBT params into consensus.
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/control.c b/src/or/control.c
index a7e60d55f0..835c3be518 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -3480,13 +3480,13 @@ control_event_buildtimeout_set(const circuit_build_times_t *cbt,
buildtimeout_set_event_t type)
{
const char *type_string = NULL;
- double qnt = BUILDTIMEOUT_QUANTILE_CUTOFF;
+ double qnt = circuit_build_times_quantile_cutoff();
if (!control_event_is_interesting(EVENT_BUILDTIMEOUT_SET))
return 0;
switch (type) {
- case BUILDTIMEOUT_SET_EVENT_COMPUTED:
+ case BUILDTIMEOUT_SET_EVENT_COMPUTED:
type_string = "COMPUTED";
break;
case BUILDTIMEOUT_SET_EVENT_RESET:
@@ -3513,7 +3513,7 @@ control_event_buildtimeout_set(const circuit_build_times_t *cbt,
"650 BUILDTIMEOUT_SET %s TOTAL_TIMES=%lu "
"TIMEOUT_MS=%lu XM=%lu ALPHA=%lf CUTOFF_QUANTILE=%lf\r\n",
type_string, (unsigned long)cbt->total_build_times,
- (unsigned long)cbt->timeout_ms,
+ (unsigned long)cbt->timeout_ms,
(unsigned long)cbt->Xm, cbt->alpha, qnt);
return 0;