diff options
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r-- | src/transport/test_quota_compliance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c index 3889aa0ef..e64260969 100644 --- a/src/transport/test_quota_compliance.c +++ b/src/transport/test_quota_compliance.c | |||
@@ -268,7 +268,7 @@ notify_ready (void *cls, size_t size, void *buf) | |||
268 | hdr.header.type = htons (MTYPE); | 268 | hdr.header.type = htons (MTYPE); |
269 | hdr.num = htonl (n); | 269 | hdr.num = htonl (n); |
270 | msg_sent = n; | 270 | msg_sent = n; |
271 | memcpy (&cbuf[ret], &hdr, sizeof (struct TestMessage)); | 271 | GNUNET_memcpy (&cbuf[ret], &hdr, sizeof (struct TestMessage)); |
272 | ret += sizeof (struct TestMessage); | 272 | ret += sizeof (struct TestMessage); |
273 | memset (&cbuf[ret], n, s - sizeof (struct TestMessage)); | 273 | memset (&cbuf[ret], n, s - sizeof (struct TestMessage)); |
274 | ret += s - sizeof (struct TestMessage); | 274 | ret += s - sizeof (struct TestMessage); |