]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve documentation for the last fix of bug 932.
authorKarsten Loesing <karsten.loesing@gmx.net>
Tue, 26 May 2009 20:02:52 +0000 (22:02 +0200)
committerKarsten Loesing <karsten.loesing@gmx.net>
Wed, 27 May 2009 17:10:55 +0000 (19:10 +0200)
src/or/geoip.c

index e1477d4eabe82c3fc979fadb52ae1af81b1473f3..aabbe26889c9a5b93dcb24b88804a1e0232a2e1c 100644 (file)
@@ -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)
 {