From ffa7a0ab292b190ed10cd54645593fe31c5796bc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 6 Oct 2021 09:34:19 +0200 Subject: -fix FTBFS --- src/transport/transport_api_cmd_start_peer_v3.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'src/transport/transport_api_cmd_start_peer_v3.c') diff --git a/src/transport/transport_api_cmd_start_peer_v3.c b/src/transport/transport_api_cmd_start_peer_v3.c index b5cefecc8..fa6300ef5 100644 --- a/src/transport/transport_api_cmd_start_peer_v3.c +++ b/src/transport/transport_api_cmd_start_peer_v3.c @@ -175,7 +175,6 @@ notify_connect (void *cls, */ static void start_peer_run (void *cls, - const struct GNUNET_TESTING_Command *cmd, struct GNUNET_TESTING_Interpreter *is) { struct StartPeerState_v2 *sps = cls; @@ -194,7 +193,7 @@ start_peer_run (void *cls, LOG (GNUNET_ERROR_TYPE_ERROR, "File not found: `%s'\n", sps->cfgname); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } @@ -244,7 +243,8 @@ start_peer_run (void *cls, "UNIXPATH", udp_communicator_unix_path); - system_cmd = GNUNET_TESTING_interpreter_lookup_command (sps->system_label); + system_cmd = GNUNET_TESTING_interpreter_lookup_command (is, + sps->system_label); GNUNET_TESTING_get_trait_test_system (system_cmd, &tl_system); @@ -258,7 +258,7 @@ start_peer_run (void *cls, "Testing library failed to create unique configuration based on `%s'\n", sps->cfgname); GNUNET_CONFIGURATION_destroy (sps->cfg); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } @@ -274,7 +274,7 @@ start_peer_run (void *cls, sps->cfgname, emsg); GNUNET_free (emsg); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } @@ -284,7 +284,7 @@ start_peer_run (void *cls, "Testing library failed to create unique configuration based on `%s'\n", sps->cfgname); GNUNET_free (emsg); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } @@ -303,7 +303,7 @@ start_peer_run (void *cls, "Testing library failed to obtain peer identity for peer %u\n", sps->no); GNUNET_free (emsg); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } LOG (GNUNET_ERROR_TYPE_DEBUG, @@ -324,7 +324,7 @@ start_peer_run (void *cls, sps->cfgname, emsg); GNUNET_free (emsg); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } @@ -336,7 +336,7 @@ start_peer_run (void *cls, sps->cfgname, emsg); GNUNET_free (emsg); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } @@ -348,7 +348,7 @@ start_peer_run (void *cls, sps->cfgname, emsg); GNUNET_free (emsg); - GNUNET_TESTING_interpreter_fail (); + GNUNET_TESTING_interpreter_fail (is); return; } sps->rh_task = GNUNET_SCHEDULER_add_now (retrieve_hello, sps); @@ -360,8 +360,7 @@ start_peer_run (void *cls, * */ static void -start_peer_cleanup (void *cls, - const struct GNUNET_TESTING_Command *cmd) +start_peer_cleanup (void *cls) { struct StartPeerState_v2 *sps = cls; -- cgit v1.2.3