aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed_oc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testbed/gnunet-service-testbed_oc.c')
-rw-r--r--src/testbed/gnunet-service-testbed_oc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testbed/gnunet-service-testbed_oc.c b/src/testbed/gnunet-service-testbed_oc.c
index 8902a359c..2f4062abe 100644
--- a/src/testbed/gnunet-service-testbed_oc.c
+++ b/src/testbed/gnunet-service-testbed_oc.c
@@ -866,7 +866,7 @@ send_hello_thru_rocc (struct OverlayConnectContext *occ)
866 msg->peer = htonl (occ->other_peer_id); 866 msg->peer = htonl (occ->other_peer_id);
867 msg->operation_id = GNUNET_htonll (occ->op_id); 867 msg->operation_id = GNUNET_htonll (occ->op_id);
868 msg->peer_identity = occ->peer_identity; 868 msg->peer_identity = occ->peer_identity;
869 memcpy (msg->hello, 869 GNUNET_memcpy (msg->hello,
870 occ->hello, 870 occ->hello,
871 hello_size); 871 hello_size);
872 GNUNET_TESTBED_queue_message_ (occ->p2ctx.remote.p2c, 872 GNUNET_TESTBED_queue_message_ (occ->p2ctx.remote.p2c,
@@ -1053,7 +1053,7 @@ hello_update_cb (void *cls,
1053 GNUNET_i2s (&occ->peer_identity)); 1053 GNUNET_i2s (&occ->peer_identity));
1054 occ->hello = GNUNET_malloc (msize); 1054 occ->hello = GNUNET_malloc (msize);
1055 GST_cache_add_hello (occ->peer->id, hello); 1055 GST_cache_add_hello (occ->peer->id, hello);
1056 memcpy (occ->hello, hello, msize); 1056 GNUNET_memcpy (occ->hello, hello, msize);
1057 GNUNET_TRANSPORT_get_hello_cancel (occ->ghh); 1057 GNUNET_TRANSPORT_get_hello_cancel (occ->ghh);
1058 occ->ghh = NULL; 1058 occ->ghh = NULL;
1059 GST_connection_pool_get_handle_done (occ->cgh_p1th); 1059 GST_connection_pool_get_handle_done (occ->cgh_p1th);
@@ -1895,7 +1895,7 @@ GST_handle_remote_overlay_connect (void *cls,
1895 rocc->peer = peer; 1895 rocc->peer = peer;
1896 rocc->peer->reference_cnt++; 1896 rocc->peer->reference_cnt++;
1897 rocc->hello = GNUNET_malloc (hsize); 1897 rocc->hello = GNUNET_malloc (hsize);
1898 memcpy (rocc->hello, msg->hello, hsize); 1898 GNUNET_memcpy (rocc->hello, msg->hello, hsize);
1899 rocc->tcc.cgh_p2_th = 1899 rocc->tcc.cgh_p2_th =
1900 GST_connection_pool_get_handle (peer_id, 1900 GST_connection_pool_get_handle (peer_id,
1901 rocc->peer->details.local.cfg, 1901 rocc->peer->details.local.cfg,