aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-24 19:35:16 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-24 19:35:16 -0400
commitf3af74ccf594c07f7edbf0bdfa576b9af21563d9 (patch)
tree45cf71c16ac39452458a68cc0c1ddb28d1b4958b /src/test/test_router.c
parent44e8aaa9aa57bf6b9fce1712a8f77e5f9979392c (diff)
downloadtor-f3af74ccf594c07f7edbf0bdfa576b9af21563d9.tar.gz
tor-f3af74ccf594c07f7edbf0bdfa576b9af21563d9.zip
Updates to fix check-spaces/check-changes warnings
Diffstat (limited to 'src/test/test_router.c')
-rw-r--r--src/test/test_router.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/test_router.c b/src/test/test_router.c
index 64434035ef..4e96e24534 100644
--- a/src/test/test_router.c
+++ b/src/test/test_router.c
@@ -22,7 +22,8 @@ NS_DECL(const routerinfo_t *, router_get_my_routerinfo, (void));
static routerinfo_t* mock_routerinfo;
static const routerinfo_t*
-NS(router_get_my_routerinfo)(void) {
+NS(router_get_my_routerinfo)(void)
+{
crypto_pk_t* ident_key;
crypto_pk_t* tap_key;
time_t now;
@@ -57,7 +58,8 @@ NS(router_get_my_routerinfo)(void) {
/* If no distribution option was set, then check_bridge_distribution_setting()
* should have set it to "any". */
static void
-test_router_dump_router_to_string_no_bridge_distribution_method(void *arg) {
+test_router_dump_router_to_string_no_bridge_distribution_method(void *arg)
+{
const char* needle = "bridge-distribution-request any";
or_options_t* options = get_options_mutable();
routerinfo_t* router = NULL;
@@ -107,3 +109,4 @@ struct testcase_t router_tests[] = {
ROUTER_TEST(dump_router_to_string_no_bridge_distribution_method, TT_FORK),
END_OF_TESTCASES
};
+