From a324871603cf9b8bac8b46e2058156ef9acb51c7 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 3 Apr 2006 06:37:35 +0000 Subject: [PATCH] phrase the threshold comparison in the way we've been phrasing it. these are equivalent, right? svn:r6309 --- src/or/routerlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 59911dca23..8bb42618eb 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -2874,7 +2874,7 @@ routerstatus_list_update_from_networkstatus(time_t now) n_trusted = smartlist_len(trusted_dir_servers); n_statuses = smartlist_len(networkstatus_list); - if (n_statuses < (n_trusted/2)+1) { + if (n_statuses <= n_trusted/2) { /* Not enough statuses to adjust status. */ log_notice(LD_DIR, "Not enough statuses to update router status list. (%d/%d)",