aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/test_testbed_api_peer_reconfiguration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/test_testbed_api_peer_reconfiguration.c')
-rw-r--r--src/testbed/test_testbed_api_peer_reconfiguration.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testbed/test_testbed_api_peer_reconfiguration.c b/src/testbed/test_testbed_api_peer_reconfiguration.c
index 7f7bf6473..8ca679c27 100644
--- a/src/testbed/test_testbed_api_peer_reconfiguration.c
+++ b/src/testbed/test_testbed_api_peer_reconfiguration.c
@@ -22,7 +22,7 @@
22 * @file testbed/test_testbed_api_peer_reconfiguration.c 22 * @file testbed/test_testbed_api_peer_reconfiguration.c
23 * @brief testcase for testing GNUNET_TESTBED_peer_manage_service() 23 * @brief testcase for testing GNUNET_TESTBED_peer_manage_service()
24 * implementation 24 * implementation
25 * @author Sree Harsha Totakura <sreeharsha@totakura.in> 25 * @author Sree Harsha Totakura <sreeharsha@totakura.in>
26 */ 26 */
27 27
28#include "platform.h" 28#include "platform.h"
@@ -63,7 +63,7 @@ enum {
63 * Peers have been started 63 * Peers have been started
64 */ 64 */
65 STATE_PEER_STARTED, 65 STATE_PEER_STARTED,
66 66
67 /** 67 /**
68 * Peer has been reconfigured. Test completed successfully 68 * Peer has been reconfigured. Test completed successfully
69 */ 69 */
@@ -97,7 +97,7 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
97 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Aborting\n"); 97 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Aborting\n");
98 abort_task = GNUNET_SCHEDULER_NO_TASK; 98 abort_task = GNUNET_SCHEDULER_NO_TASK;
99 if (NULL != op) 99 if (NULL != op)
100 { 100 {
101 GNUNET_TESTBED_operation_done (op); 101 GNUNET_TESTBED_operation_done (op);
102 op = NULL; 102 op = NULL;
103 } 103 }
@@ -128,7 +128,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event)
128 fprintf (stderr, "Operation failed: %s\n", 128 fprintf (stderr, "Operation failed: %s\n",
129 event->details.operation_finished.emsg); 129 event->details.operation_finished.emsg);
130 GNUNET_TESTBED_operation_done (op); 130 GNUNET_TESTBED_operation_done (op);
131 op = NULL; 131 op = NULL;
132 FAIL_TEST (0, return); 132 FAIL_TEST (0, return);
133 } 133 }
134 GNUNET_TESTBED_operation_done (op); 134 GNUNET_TESTBED_operation_done (op);
@@ -152,7 +152,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event)
152 * failed 152 * failed
153 */ 153 */
154static void 154static void
155test_master (void *cls, 155test_master (void *cls,
156 struct GNUNET_TESTBED_RunHandle *h, 156 struct GNUNET_TESTBED_RunHandle *h,
157 unsigned int num_peers, 157 unsigned int num_peers,
158 struct GNUNET_TESTBED_Peer **peers_, 158 struct GNUNET_TESTBED_Peer **peers_,