X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Ftestbed%2Ftest_testbed_api_peer_reconfiguration.c;h=6b5f3e11764568ca5126d8233a5e2aae3136cb61;hb=0778d7e951b20f42af01597ae41ba8d2d26857d0;hp=7f7bf647370ae1dd16c7ff4d43801e4694dc6bb1;hpb=2ca4b8a208f6f910c819bbaa6785a25ae2955501;p=oweals%2Fgnunet.git diff --git a/src/testbed/test_testbed_api_peer_reconfiguration.c b/src/testbed/test_testbed_api_peer_reconfiguration.c index 7f7bf6473..6b5f3e117 100644 --- a/src/testbed/test_testbed_api_peer_reconfiguration.c +++ b/src/testbed/test_testbed_api_peer_reconfiguration.c @@ -22,11 +22,11 @@ * @file testbed/test_testbed_api_peer_reconfiguration.c * @brief testcase for testing GNUNET_TESTBED_peer_manage_service() * implementation - * @author Sree Harsha Totakura + * @author Sree Harsha Totakura */ #include "platform.h" -#include "gnunet_common.h" +#include "gnunet_util_lib.h" #include "gnunet_testbed_service.h" /** @@ -63,7 +63,7 @@ enum { * Peers have been started */ STATE_PEER_STARTED, - + /** * Peer has been reconfigured. Test completed successfully */ @@ -97,7 +97,7 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Aborting\n"); abort_task = GNUNET_SCHEDULER_NO_TASK; if (NULL != op) - { + { GNUNET_TESTBED_operation_done (op); op = NULL; } @@ -128,7 +128,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event) fprintf (stderr, "Operation failed: %s\n", event->details.operation_finished.emsg); GNUNET_TESTBED_operation_done (op); - op = NULL; + op = NULL; FAIL_TEST (0, return); } GNUNET_TESTBED_operation_done (op); @@ -152,7 +152,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event) * failed */ static void -test_master (void *cls, +test_master (void *cls, struct GNUNET_TESTBED_RunHandle *h, unsigned int num_peers, struct GNUNET_TESTBED_Peer **peers_,