summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-08-18 07:53:43 +0000
committerRoger Dingledine <arma@torproject.org>2004-08-18 07:53:43 +0000
commit6d661d1bc04755cb13b49a9587dc68b528cacfff (patch)
tree100df454d527b387c7613f005e388fd5b3551ee2
parent555f8f30f46a5f5e9c5567560255ca8b6ef116e4 (diff)
downloadtor-6d661d1bc04755cb13b49a9587dc68b528cacfff.tar.gz
tor-6d661d1bc04755cb13b49a9587dc68b528cacfff.zip
bugfix: make intro circuits work again
svn:r2280
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 2d081d387c..9d7f617763 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -321,6 +321,8 @@ routerinfo_t *router_choose_random_node(char *preferred, char *excluded,
routerlist_sl_remove_unreliable_routers(sl);
if(preferbandwidth)
choice = routerlist_sl_choose_by_bandwidth(sl);
+ else
+ choice = smartlist_choose(sl);
smartlist_free(sl);
}
smartlist_free(excludednodes);