diff options
author | Roger Dingledine <arma@torproject.org> | 2007-02-24 04:17:29 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-02-24 04:17:29 +0000 |
commit | d63c58249ed9ed7ba227bc00be66f33dce89b822 (patch) | |
tree | 771129506a193d21b71c83d5955fa6b453add7ec | |
parent | 33430d3a9e39c141dfcad9260a243fe9da4fc8ed (diff) | |
download | tor-d63c58249ed9ed7ba227bc00be66f33dce89b822.tar.gz tor-d63c58249ed9ed7ba227bc00be66f33dce89b822.zip |
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
-rw-r--r-- | src/or/circuitbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index d66e80a044..33d5e8e2c9 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -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--; } }); |