aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2012-12-10 00:36:10 -0800
committerMike Perry <mikeperry-git@fscked.org>2012-12-10 00:36:10 -0800
commitc1bc6a112498ba53243cfc8ec259a9e20124d86a (patch)
treea0226b86e507231d34dcf18f25299def2b6d4303 /src/or
parentd409c8a90d876c2f45a1c4ea14ddae44fa7c8f18 (diff)
downloadtor-c1bc6a112498ba53243cfc8ec259a9e20124d86a.tar
tor-c1bc6a112498ba53243cfc8ec259a9e20124d86a.tar.gz
Add a missing comment.
Diffstat (limited to 'src/or')
-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)
{