Update to new choose_random_node interface.

svn:r2239
This commit is contained in:
Nick Mathewson 2004-08-15 20:31:11 +00:00
parent bcf8ca5ba6
commit 6514eb5d44

View File

@ -822,7 +822,7 @@ void rend_services_introduce(void) {
for (j=prev_intro_nodes; j < NUM_INTRO_POINTS; ++j) {
router = router_choose_random_node(service->intro_prefer_nodes,
service->intro_exclude_nodes,
exclude_routers, 1, 0);
exclude_routers, 1, 0, 0);
if (!router) {
log_fn(LOG_WARN, "Could only establish %d introduction points for %s",
smartlist_len(service->intro_nodes), service->service_id);