diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-08 18:46:18 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-08 18:46:18 +0000 |
commit | f647ff501fc52e22209af98b4cc16f127ab00f3d (patch) | |
tree | b79082a19da2dae4a81ffc08f7228ef928a7e0c8 /src/or/routerlist.c | |
parent | 39d52ec93a0dcfe86d0cc75d4ac4e8fd0a4a6928 (diff) | |
download | tor-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.c | 2 |
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; } }); |