summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-20 19:12:28 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-20 19:12:28 +0000
commit1c21a02b90a7cef6d56589194f22b2a7f4f35f95 (patch)
treed62e10c1576448afa96a44fda926a653bd4468a4 /src/or/or.h
parent66dd21b7a44d3e194029fac99fe986adac9940a7 (diff)
downloadtor-1c21a02b90a7cef6d56589194f22b2a7f4f35f95.tar.gz
tor-1c21a02b90a7cef6d56589194f22b2a7f4f35f95.zip
router_choose_random_node() was ignoring its routerlist argument.
so now we don't pass it one. svn:r1911
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 88bd8ee56a..d0f0c59e9e 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1292,8 +1292,7 @@ routerinfo_t *router_pick_directory_server(void);
struct smartlist_t;
void add_nickname_list_to_smartlist(struct smartlist_t *sl, const char *list);
void router_add_running_routers_to_smartlist(struct smartlist_t *sl);
-routerinfo_t *router_choose_random_node(routerlist_t *dir,
- char *preferred, char *excluded,
+routerinfo_t *router_choose_random_node(char *preferred, char *excluded,
struct smartlist_t *excludedsmartlist);
routerinfo_t *router_get_by_addr_port(uint32_t addr, uint16_t port);
routerinfo_t *router_get_by_nickname(char *nickname);