From a65fbef9ae9c314940e8977d10bdd761cc52b0ad Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 19 Feb 2019 21:41:58 +0100 Subject: [PATCH] Code formatting. --- .../run_blackbox_tests/test_optimal_pmtu.c | 16 ++++++++-------- .../test_case_optimal_pmtu_01/node_sim_nut.c | 2 +- .../test_case_optimal_pmtu_01/node_sim_peer.c | 2 +- .../test_case_optimal_pmtu_01/node_sim_relay.c | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c index c5638c6e..2cb605ae 100644 --- a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c +++ b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c @@ -99,7 +99,7 @@ static void execute_test(test_step_func_t step_func, void **state) { static void *gen_inv(void *arg) { mesh_invite_arg_t *mesh_invite_arg = (mesh_invite_arg_t *)arg; meshlink_handle_t *mesh; - mesh = meshlink_open(mesh_invite_arg->mesh_arg->node_name , mesh_invite_arg->mesh_arg->confbase, mesh_invite_arg->mesh_arg->app_name, mesh_invite_arg->mesh_arg->dev_class); + mesh = meshlink_open(mesh_invite_arg->mesh_arg->node_name, mesh_invite_arg->mesh_arg->confbase, mesh_invite_arg->mesh_arg->app_name, mesh_invite_arg->mesh_arg->dev_class); assert(mesh); char *invitation = meshlink_invite(mesh, NULL, mesh_invite_arg->invitee_name); @@ -616,19 +616,19 @@ int test_optimal_pmtu(void) { const struct CMUnitTest blackbox_group0_tests[] = { cmocka_unit_test_prestate_setup_teardown(test_case_optimal_pmtu_01, setup_test, teardown_test, - (void *)&test_pmtu_state), + (void *)&test_pmtu_state), cmocka_unit_test_prestate_setup_teardown(test_case_optimal_pmtu_02, setup_test, teardown_test, - (void *)&test_pmtu_state), + (void *)&test_pmtu_state), cmocka_unit_test_prestate_setup_teardown(test_case_optimal_pmtu_03, setup_test, teardown_test, - (void *)&test_pmtu_state), + (void *)&test_pmtu_state), cmocka_unit_test_prestate_setup_teardown(test_case_optimal_pmtu_04, setup_test, teardown_test, - (void *)&test_pmtu_state), + (void *)&test_pmtu_state), cmocka_unit_test_prestate_setup_teardown(test_case_optimal_pmtu_05, setup_test, teardown_test, - (void *)&test_pmtu_state), + (void *)&test_pmtu_state), cmocka_unit_test_prestate_setup_teardown(test_case_optimal_pmtu_06, setup_test, teardown_test, - (void *)&test_pmtu_state), + (void *)&test_pmtu_state), cmocka_unit_test_prestate_setup_teardown(test_case_optimal_pmtu_07, setup_test, teardown_test, - (void *)&test_pmtu_state), + (void *)&test_pmtu_state), }; total_tests += sizeof(blackbox_group0_tests) / sizeof(blackbox_group0_tests[0]); diff --git a/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c b/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c index bcd61f50..1b8083b7 100644 --- a/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c +++ b/test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c @@ -240,7 +240,7 @@ void *node_sim_pmtu_nut_01(void *arg) { // Run relay node instance meshlink_handle_t *mesh; - mesh = meshlink_open(mesh_arg->node_name , mesh_arg->confbase, mesh_arg->app_name, mesh_arg->dev_class); + mesh = meshlink_open(mesh_arg->node_name, mesh_arg->confbase, mesh_arg->app_name, mesh_arg->dev_class); assert(mesh); meshlink_set_log_cb(mesh, MESHLINK_DEBUG, meshlink_logger); meshlink_set_node_status_cb(mesh, node_status_cb); diff --git a/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c b/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c index 71c90086..678c009b 100644 --- a/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c +++ b/test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c @@ -97,7 +97,7 @@ void *node_sim_pmtu_peer_01(void *arg) { meshlink_handle_t *mesh; - mesh = meshlink_open(mesh_arg->node_name , mesh_arg->confbase, mesh_arg->app_name, mesh_arg->dev_class); + mesh = meshlink_open(mesh_arg->node_name, mesh_arg->confbase, mesh_arg->app_name, mesh_arg->dev_class); assert(mesh); meshlink_set_log_cb(mesh, MESHLINK_DEBUG, log_message); diff --git a/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c b/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c index 822f1d2b..d733b2b0 100644 --- a/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c +++ b/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c @@ -39,7 +39,7 @@ void *node_sim_pmtu_relay_01(void *arg) { meshlink_handle_t *mesh; - mesh = meshlink_open(mesh_arg->node_name , mesh_arg->confbase, mesh_arg->app_name, mesh_arg->dev_class); + mesh = meshlink_open(mesh_arg->node_name, mesh_arg->confbase, mesh_arg->app_name, mesh_arg->dev_class); assert(mesh); //meshlink_set_log_cb(mesh, MESHLINK_DEBUG, meshlink_callback_logger); -- 2.39.5