[or-cvs] [tor/master] Improve documentation for the last fix of bug 932.
Nick Mathewson
nickm at seul.org
Wed May 27 18:20:26 UTC 2009
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Tue, 26 May 2009 22:02:52 +0200
Subject: Improve documentation for the last fix of bug 932.
Commit: 02a417d4e0dee629a0026b726d108fda7c9a0884
---
src/or/geoip.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/or/geoip.c b/src/or/geoip.c
index e1477d4..aabbe26 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -389,7 +389,10 @@ _remove_old_client_helper(struct clientmap_entry_t *ent, void *_cutoff)
}
}
-/** Forget about all clients that haven't connected since <b>cutoff</b>. */
+/** Forget about all clients that haven't connected since <b>cutoff</b>.
+ * If <b>cutoff</b> is in the future, clients won't be added to the history
+ * until this time is reached. This is useful to prevent relays that switch
+ * to bridges from reporting unbelievable numbers of clients. */
void
geoip_remove_old_clients(time_t cutoff)
{
--
1.5.6.5
More information about the tor-commits
mailing list