summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-08 18:46:18 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-08 18:46:18 +0000
commitf647ff501fc52e22209af98b4cc16f127ab00f3d (patch)
treeb79082a19da2dae4a81ffc08f7228ef928a7e0c8 /src/or/routerlist.c
parent39d52ec93a0dcfe86d0cc75d4ac4e8fd0a4a6928 (diff)
downloadtor-f647ff501fc52e22209af98b4cc16f127ab00f3d.tar.gz
tor-f647ff501fc52e22209af98b4cc16f127ab00f3d.zip
r13323@catbus: nickm | 2007-06-08 14:45:28 -0400
Backport r10537: bugfix: we were undercounting the number of authorities that recommended any given version by 1. svn:r10538
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 9c25851737..1bec32ddd2 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3235,7 +3235,7 @@ compute_recommended_versions(time_t now, int client,
} else {
if (n_seen > n_versioning/2 && current)
smartlist_add(recommended, current);
- n_seen = 0;
+ n_seen = 1;
current = cp;
}
});