diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-13 16:42:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-13 16:45:13 -0400 |
commit | 5b0977df3153a82c51fadbda68235805b5a5cd45 (patch) | |
tree | 62c628794bb13f76093496366acde0ab6def9251 /src/or/control.c | |
parent | d98590d3b73be541cc6b3b59477bc6600212eb04 (diff) | |
download | tor-5b0977df3153a82c51fadbda68235805b5a5cd45.tar.gz tor-5b0977df3153a82c51fadbda68235805b5a5cd45.zip |
One more fix for bug 5049.
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index dfa7d364c7..9465f895a4 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -4109,11 +4109,13 @@ control_event_buildtimeout_set(const circuit_build_times_t *cbt, buildtimeout_set_event_t type) { const char *type_string = NULL; - double qnt = circuit_build_times_quantile_cutoff(); + double qnt; if (!control_event_is_interesting(EVENT_BUILDTIMEOUT_SET)) return 0; + qnt = circuit_build_times_quantile_cutoff(); + switch (type) { case BUILDTIMEOUT_SET_EVENT_COMPUTED: type_string = "COMPUTED"; |