mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
make it stop crashing when i exercise the new entrynodes behavior in
r9574. this hack is getting pretty darn hackish; perhaps it's time to not use SMARTLIST_FOREACH in this situation. svn:r9629
This commit is contained in:
parent
33430d3a9e
commit
d63c58249e
@ -2280,6 +2280,7 @@ entry_guards_prepend_from_config(void)
|
||||
SMARTLIST_FOREACH(entry_routers, routerinfo_t *, ri, {
|
||||
if (is_an_entry_guard(ri->cache_info.identity_digest)) {
|
||||
smartlist_del(entry_routers, ri_sl_idx--);
|
||||
ri_sl_len--;
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user