aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/gnunet-service-testbed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c
index 70fe1786f..cb8c4a5f5 100644
--- a/src/testbed/gnunet-service-testbed.c
+++ b/src/testbed/gnunet-service-testbed.c
@@ -1750,7 +1750,7 @@ handle_peer_stop (void *cls, struct GNUNET_SERVER_Client *client,
1750 GNUNET_SERVER_receive_done (client, GNUNET_OK); 1750 GNUNET_SERVER_receive_done (client, GNUNET_OK);
1751 return; 1751 return;
1752 } 1752 }
1753 if (GNUNET_OK != GNUNET_TESTING_peer_stop (peer->details.local.peer)) 1753 if (GNUNET_OK != GNUNET_TESTING_peer_kill (peer->details.local.peer))
1754 { 1754 {
1755 LOG (GNUNET_ERROR_TYPE_WARNING, "Stopping peer %u failed\n", peer_id); 1755 LOG (GNUNET_ERROR_TYPE_WARNING, "Stopping peer %u failed\n", peer_id);
1756 GST_send_operation_fail_msg (client, GNUNET_ntohll (msg->operation_id), 1756 GST_send_operation_fail_msg (client, GNUNET_ntohll (msg->operation_id),
@@ -1769,6 +1769,7 @@ handle_peer_stop (void *cls, struct GNUNET_SERVER_Client *client,
1769 reply->operation_id = msg->operation_id; 1769 reply->operation_id = msg->operation_id;
1770 GST_queue_message (client, &reply->header); 1770 GST_queue_message (client, &reply->header);
1771 GNUNET_SERVER_receive_done (client, GNUNET_OK); 1771 GNUNET_SERVER_receive_done (client, GNUNET_OK);
1772 GNUNET_TESTING_peer_wait (peer->details.local.peer);
1772} 1773}
1773 1774
1774 1775