diff options
Diffstat (limited to 'src/testbed/testbed_api_peers.c')
-rw-r--r-- | src/testbed/testbed_api_peers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c index c30f960c8..2af62b44a 100644 --- a/src/testbed/testbed_api_peers.c +++ b/src/testbed/testbed_api_peers.c | |||
@@ -122,7 +122,7 @@ opstart_peer_create (void *cls) | |||
122 | msg->host_id = htonl (GNUNET_TESTBED_host_get_id_ (data->peer->host)); | 122 | msg->host_id = htonl (GNUNET_TESTBED_host_get_id_ (data->peer->host)); |
123 | msg->peer_id = htonl (data->peer->unique_id); | 123 | msg->peer_id = htonl (data->peer->unique_id); |
124 | msg->config_size = htons ((uint16_t) c_size); | 124 | msg->config_size = htons ((uint16_t) c_size); |
125 | memcpy (&msg[1], | 125 | GNUNET_memcpy (&msg[1], |
126 | xconfig, | 126 | xconfig, |
127 | xc_size); | 127 | xc_size); |
128 | GNUNET_MQ_send (opc->c->mq, | 128 | GNUNET_MQ_send (opc->c->mq, |
@@ -489,7 +489,7 @@ opstart_peer_reconfigure (void *cls) | |||
489 | msg->peer_id = htonl (data->peer->unique_id); | 489 | msg->peer_id = htonl (data->peer->unique_id); |
490 | msg->operation_id = GNUNET_htonll (opc->id); | 490 | msg->operation_id = GNUNET_htonll (opc->id); |
491 | msg->config_size = htons (data->cfg_size); | 491 | msg->config_size = htons (data->cfg_size); |
492 | memcpy (&msg[1], | 492 | GNUNET_memcpy (&msg[1], |
493 | xconfig, | 493 | xconfig, |
494 | xc_size); | 494 | xc_size); |
495 | GNUNET_free (xconfig); | 495 | GNUNET_free (xconfig); |
@@ -898,7 +898,7 @@ opstart_manage_service (void *cls) | |||
898 | msg->peer_id = htonl (data->peer->unique_id); | 898 | msg->peer_id = htonl (data->peer->unique_id); |
899 | msg->operation_id = GNUNET_htonll (opc->id); | 899 | msg->operation_id = GNUNET_htonll (opc->id); |
900 | msg->start = (uint8_t) data->start; | 900 | msg->start = (uint8_t) data->start; |
901 | memcpy (&msg[1], | 901 | GNUNET_memcpy (&msg[1], |
902 | data->service_name, | 902 | data->service_name, |
903 | xlen); | 903 | xlen); |
904 | GNUNET_free (data->service_name); | 904 | GNUNET_free (data->service_name); |