mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
and forward-port too.
svn:r6573
This commit is contained in:
parent
85d408a573
commit
30f6c57fd7
@ -3668,6 +3668,8 @@ router_have_minimum_dir_info(void)
|
||||
SMARTLIST_FOREACH(networkstatus_list, networkstatus_t *, ns,
|
||||
tot += routerstatus_count_usable_entries(ns->entries));
|
||||
avg = tot / n_ns;
|
||||
if (!routerstatus_list)
|
||||
routerstatus_list = smartlist_create();
|
||||
SMARTLIST_FOREACH(routerstatus_list, local_routerstatus_t *, rs,
|
||||
{
|
||||
if (rs->status.is_running)
|
||||
|
Loading…
Reference in New Issue
Block a user