diff options
Diffstat (limited to 'src/transport/test_transport_api_unreliability_constant.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability_constant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_transport_api_unreliability_constant.c b/src/transport/test_transport_api_unreliability_constant.c index 9ee165b68..26905a4c3 100644 --- a/src/transport/test_transport_api_unreliability_constant.c +++ b/src/transport/test_transport_api_unreliability_constant.c | |||
@@ -313,7 +313,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
313 | hdr.header.type = htons (MTYPE); | 313 | hdr.header.type = htons (MTYPE); |
314 | hdr.num = htonl (n); | 314 | hdr.num = htonl (n); |
315 | msg_sent = n; | 315 | msg_sent = n; |
316 | memcpy (&cbuf[ret], &hdr, sizeof (struct TestMessage)); | 316 | GNUNET_memcpy (&cbuf[ret], &hdr, sizeof (struct TestMessage)); |
317 | ret += sizeof (struct TestMessage); | 317 | ret += sizeof (struct TestMessage); |
318 | memset (&cbuf[ret], n, s - sizeof (struct TestMessage)); | 318 | memset (&cbuf[ret], n, s - sizeof (struct TestMessage)); |
319 | ret += s - sizeof (struct TestMessage); | 319 | ret += s - sizeof (struct TestMessage); |