[tor-commits] [tor/master] Add a missing comment.

nickm at torproject.org nickm at torproject.org
Wed Dec 26 04:34:55 UTC 2012


commit c1bc6a112498ba53243cfc8ec259a9e20124d86a
Author: Mike Perry <mikeperry-git at fscked.org>
Date:   Mon Dec 10 00:36:10 2012 -0800

    Add a missing comment.
---
 src/or/circuitbuild.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index d39817c..cc43797 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)
 {





More information about the tor-commits mailing list