aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/test_testbed_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-09 12:30:54 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-09 12:30:54 +0000
commita1d7926951beb7466a1462e43b9933530e5825f7 (patch)
tree0ae15b2f388a1a9a0a45f95903b2e0b78513c19a /src/testbed/test_testbed_api.c
parent495ebe5987dbf7562d55e9d6a5751d78ae35ffc2 (diff)
downloadgnunet-a1d7926951beb7466a1462e43b9933530e5825f7.tar.gz
gnunet-a1d7926951beb7466a1462e43b9933530e5825f7.zip
-adding continuation to testbed peer start/stop API
Diffstat (limited to 'src/testbed/test_testbed_api.c')
-rw-r--r--src/testbed/test_testbed_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/test_testbed_api.c b/src/testbed/test_testbed_api.c
index b2a07650a..e44bf8b57 100644
--- a/src/testbed/test_testbed_api.c
+++ b/src/testbed/test_testbed_api.c
@@ -204,7 +204,7 @@ dht_disconnect_adapter (void *cls, void *op_result)
204 dht_handle = NULL; 204 dht_handle = NULL;
205 GNUNET_assert (PEER_SERVICE_CONNECT == sub_test); 205 GNUNET_assert (PEER_SERVICE_CONNECT == sub_test);
206 GNUNET_assert (NULL != operation); 206 GNUNET_assert (NULL != operation);
207 operation = GNUNET_TESTBED_peer_stop (peer); 207 operation = GNUNET_TESTBED_peer_stop (peer, NULL, NULL);
208 GNUNET_assert (NULL != operation); 208 GNUNET_assert (NULL != operation);
209} 209}
210 210
@@ -355,7 +355,7 @@ peer_create_cb (void *cls, struct GNUNET_TESTBED_Peer *peer, const char *emsg)
355 GNUNET_assert (NULL != peer_ptr); 355 GNUNET_assert (NULL != peer_ptr);
356 *peer_ptr = peer; 356 *peer_ptr = peer;
357 GNUNET_TESTBED_operation_done (operation); 357 GNUNET_TESTBED_operation_done (operation);
358 operation = GNUNET_TESTBED_peer_start (peer); 358 operation = GNUNET_TESTBED_peer_start (peer, NULL, NULL);
359 GNUNET_assert (NULL != operation); 359 GNUNET_assert (NULL != operation);
360} 360}
361 361