diff options
author | Roger Dingledine <arma@torproject.org> | 2006-04-03 06:10:33 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-04-03 06:10:33 +0000 |
commit | 9549d81d95e70ca37774125705a88c725c0b5062 (patch) | |
tree | 93dc0792efe36f9ab60bf1aff8ad2009c41bc87b /src/or | |
parent | 1f40ab57d75aa60386067d567b80a48c0ea03063 (diff) | |
download | tor-9549d81d95e70ca37774125705a88c725c0b5062.tar.gz tor-9549d81d95e70ca37774125705a88c725c0b5062.zip |
two more thresholds to look at
svn:r6305
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 9403b8dead..7d1b329efe 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -2630,12 +2630,14 @@ compute_recommended_versions(time_t now, int client) if (current && !strcmp(cp, current)) { ++n_seen; } else { +/* XXX Another case of requiring only half, not more than half -RD */ if (n_seen >= n_recent/2 && current) smartlist_add(recommended, current); n_seen = 0; current = cp; } }); +/* XXX and here -RD */ if (n_seen >= n_recent/2 && current) smartlist_add(recommended, current); |