aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-21 12:44:21 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-21 12:44:21 -0500
commitc35d481f56284ebeafc2860eed27c9833d631983 (patch)
tree128a9e3e4bbcb86560a93a3ddb8205e76973b7dd /src/test
parent6dc25e79b98ed5cb9f29de174878333a1175f755 (diff)
parente2c881487cab57b1b4301560f10b4e3ff4a44167 (diff)
downloadtor-c35d481f56284ebeafc2860eed27c9833d631983.tar.gz
tor-c35d481f56284ebeafc2860eed27c9833d631983.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 384bff410f..2fc37b0bb8 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -3480,10 +3480,12 @@ test_config_default_dir_servers(void *arg)
static int mock_router_pick_published_address_result = 0;
static int
-mock_router_pick_published_address(const or_options_t *options, uint32_t *addr)
+mock_router_pick_published_address(const or_options_t *options,
+ uint32_t *addr, int cache_only)
{
(void)options;
(void)addr;
+ (void)cache_only;
return mock_router_pick_published_address_result;
}