aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_reliability.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r--src/transport/test_transport_api_reliability.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index fe2ac78e0..154301656 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -461,7 +461,7 @@ notify_ready (void *cls, size_t size, void *buf)
461 hdr.header.type = htons (MTYPE); 461 hdr.header.type = htons (MTYPE);
462 hdr.num = htonl (n); 462 hdr.num = htonl (n);
463 msg_sent = n; 463 msg_sent = n;
464 memcpy (&cbuf[ret], &hdr, sizeof (struct TestMessage)); 464 GNUNET_memcpy (&cbuf[ret], &hdr, sizeof (struct TestMessage));
465 ret += sizeof (struct TestMessage); 465 ret += sizeof (struct TestMessage);
466 memset (&cbuf[ret], n, s - sizeof (struct TestMessage)); 466 memset (&cbuf[ret], n, s - sizeof (struct TestMessage));
467 ret += s - sizeof (struct TestMessage); 467 ret += s - sizeof (struct TestMessage);