[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit c1bc6a112498ba53243cfc8ec259a9e20124d86a
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
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)
 {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits