]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Increment an informational counter for use failed state.
authorMike Perry <mikeperry-git@fscked.org>
Thu, 31 Jan 2013 14:17:11 +0000 (10:17 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 1 Feb 2013 22:01:26 +0000 (17:01 -0500)
This informational counter is probably now redundant, but might as well keep
it consistent I guess.

src/or/circuitbuild.c

index 6689f73e2288c6b7362c1149e7ab2a07ce996571..91f70779c44a2ef0b3dd70e68f507f303ec280dd 100644 (file)
@@ -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;