summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-05-16 11:18:21 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-16 11:31:28 -0400
commita6cb07bd9e332205d55010c8386746096f78fc91 (patch)
tree59872ba3cecc53d1537cbab461fbd6b99732d8f3 /src/or/circuitbuild.c
parent517b9c602a9e5e8c60849892a426526e803ef412 (diff)
downloadtor-a6cb07bd9e332205d55010c8386746096f78fc91.tar.gz
tor-a6cb07bd9e332205d55010c8386746096f78fc91.zip
Correct documentation for remove_obsolete_entry_guards.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 3b82ed7455..19be77e5d5 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -3737,7 +3737,9 @@ entry_guard_free(entry_guard_t *e)
/** 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. */
+ * entry guards badly, or which was selected more 2 months ago. */
+/* XXXX The "obsolete guards" and "chosen long ago guards" things should
+ * probably be different functions. */
static int
remove_obsolete_entry_guards(time_t now)
{