[tor-commits] [tor/master] Increment an informational counter for use failed state.
nickm at torproject.org
nickm at torproject.org
Fri Feb 1 22:03:59 UTC 2013
commit b3e57b760e7a7b77d2da414b52820283563c473d
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Thu Jan 31 10:17:11 2013 -0400
Increment an informational counter for use failed state.
This informational counter is probably now redundant, but might as well keep
it consistent I guess.
---
src/or/circuitbuild.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 6689f73..91f7077 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -2002,6 +2002,10 @@ pathbias_check_close(origin_circuit_t *ocirc, int reason)
pathbias_count_use_success(ocirc);
break;
+ case PATH_STATE_USE_FAILED:
+ pathbias_count_use_failed(ocirc);
+ break;
+
default:
// Other states are uninteresting. No stats to count.
break;
More information about the tor-commits
mailing list