diff options
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 7a328e28b1..8635674a67 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -4455,7 +4455,9 @@ hid_serv_have_enough_directories(void) SMARTLIST_FOREACH(c->routerstatus_list, routerstatus_t *, r, { if (r->is_hs_dir) - if (++n_hsdirs > REND_NUMBER_OF_CONSECUTIVE_REPLICAS) + /* XXXX020 In fact, REND_NUMBER_OF_CONSECUTIVE_REPLICAS hs dirs + * are enough. */ + if (++n_hsdirs >= REND_NUMBER_OF_CONSECUTIVE_REPLICAS) return 1; }); return 0; |