[or-cvs] fix a wordo, don"t be so quick to yell at servers, and ask ...
arma at seul.org
arma at seul.org
Fri Mar 24 21:11:16 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
routerlist.c
Log Message:
fix a wordo, don't be so quick to yell at servers, and ask a question.
Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.467
retrieving revision 1.468
diff -u -p -d -r1.467 -r1.468
--- routerlist.c 23 Mar 2006 20:21:54 -0000 1.467
+++ routerlist.c 24 Mar 2006 21:11:14 -0000 1.468
@@ -1225,7 +1225,7 @@ routerlist_insert_old(routerlist_t *rl,
// routerlist_assert_ok(rl);
}
-/** Remove an item <b>ri</b> into the routerlist <b>rl</b>, updating indices
+/** Remove an item <b>ri</b> from the routerlist <b>rl</b>, updating indices
* as needed. If <b>idx</b> is nonnegative and smartlist_get(rl->routers,
* idx) == ri, we don't need to do a linear search over the list to decide
* which to remove. We fill the gap in rl->routers with a later element in
@@ -1545,6 +1545,7 @@ router_add_to_routerlist(routerinfo_t *r
old_router->num_unreachable_notifications;
}
if (authdir && !from_cache && !from_fetch &&
+ router_have_minimum_dir_info() &&
dirserv_thinks_router_is_blatantly_unreachable(router,
time(NULL))) {
if (router->num_unreachable_notifications >= 3) {
@@ -2853,6 +2854,7 @@ routers_update_all_from_networkstatus(vo
}
});
if (n_recent > 2 && n_recommended < n_recent/2) {
+/* XXX Should this be n_recommended <= n_recent/2 ? -RD */
if (consensus == VS_NEW || consensus == VS_NEW_IN_SERIES) {
if (!have_warned_about_new_version) {
char *rec = compute_recommended_versions(now, !is_server);
More information about the tor-commits
mailing list