aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 32077a4525..09ff1ccc24 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -2103,7 +2103,9 @@ entry_guard_free(entry_guard_t *e)
tor_free(e);
}
-/** DOCDOC */
+/** Remove any entry guard which was selected by an unknown version of Tor,
+ * or which was selected by a version of Tor that's known to select
+ * entry guards badly. */
static int
remove_obsolete_entry_guards(void)
{
@@ -2512,7 +2514,7 @@ choose_random_entry(cpath_build_state_t *state)
return r;
}
-/** DOCDOC */
+/** Helper: Return the start of the month containing <b>time</b>. */
static time_t
start_of_month(time_t now)
{