]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
bugfix: make intro circuits work again
authorRoger Dingledine <arma@torproject.org>
Wed, 18 Aug 2004 07:53:43 +0000 (07:53 +0000)
committerRoger Dingledine <arma@torproject.org>
Wed, 18 Aug 2004 07:53:43 +0000 (07:53 +0000)
svn:r2280

src/or/routerlist.c

index 2d081d387c4248cb475e05e8f9cf161457882028..9d7f617763457e464532b81f64bca84e17f9a6a5 100644 (file)
@@ -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);