]> git.meshlink.io Git - meshlink/commitdiff
Code formatting.
authorGuus Sliepen <guus@meshlink.io>
Tue, 19 Feb 2019 20:41:58 +0000 (21:41 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 19 Feb 2019 20:42:18 +0000 (21:42 +0100)
test/blackbox/run_blackbox_tests/test_optimal_pmtu.c
test/blackbox/test_case_optimal_pmtu_01/node_sim_nut.c
test/blackbox/test_case_optimal_pmtu_01/node_sim_peer.c
test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c

index c5638c6ebc1a312849bf795ed7e5c805585960af..2cb605ae57ac0bf22b17d3d848b34e8c349edf26 100644 (file)
@@ -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]);
 
index bcd61f5069e7ae72ce43f001644091eca550d174..1b8083b7628289c3a3e577cd9e9a8fd651d0feeb 100644 (file)
@@ -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);
index 71c90086a4215be996c19a920d0116f7d68bb5cc..678c009b96fbabe308b6bfe2873bc7b785066423 100644 (file)
@@ -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);
index 822f1d2b418afc5e3e046095b4da46eaf0d3935a..d733b2b0f860414d3e7af98867f7ef523bb3596b 100644 (file)
@@ -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);