From 4ce7d3db7c0e6bc2d0d20bbbffcb0c1f88179c43 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 18 Aug 2004 07:53:43 +0000 Subject: [PATCH] bugfix: make intro circuits work again svn:r2280 --- trunk/src/or/routerlist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trunk/src/or/routerlist.c b/trunk/src/or/routerlist.c index 2d081d387c..9d7f617763 100644 --- a/trunk/src/or/routerlist.c +++ b/trunk/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);