summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-23 08:55:31 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-23 08:55:31 -0500
commitb677ccd3aba80f4b66f16e6e1c0e3c68b49106c5 (patch)
treea0c975bae9f4dacde438e1f57db9f4a145f93cd7 /src/test
parentd8517fe8435dbe9e4593d04fa8ec4db464513892 (diff)
parent90db39448db254d87228e4b7b34c61a4dce6a634 (diff)
downloadtor-b677ccd3aba80f4b66f16e6e1c0e3c68b49106c5.tar.gz
tor-b677ccd3aba80f4b66f16e6e1c0e3c68b49106c5.zip
Merge remote-tracking branch 'public/ticket13762'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index c6594f8359..a8c6c6fad4 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -714,9 +714,10 @@ mock_get_by_ei_desc_digest(const char *d)
static smartlist_t *mock_ei_insert_list = NULL;
static was_router_added_t
-mock_ei_insert(routerlist_t *rl, extrainfo_t *ei)
+mock_ei_insert(routerlist_t *rl, extrainfo_t *ei, int warn_if_incompatible)
{
(void) rl;
+ (void) warn_if_incompatible;
smartlist_add(mock_ei_insert_list, ei);
return ROUTER_ADDED_SUCCESSFULLY;
}