aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/circuitbuild.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index d39817c04..cc4379762 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1608,7 +1608,13 @@ pathbias_count_timeout(origin_circuit_t *circ)
}
}
-// XXX: DOCDOC
+/**
+ * Return the number of circuits counted as successfully closed for
+ * this guard.
+ *
+ * Also add in the currently open circuits to give them the benefit
+ * of the doubt.
+ */
double
pathbias_get_closed_count(entry_guard_t *guard)
{