diff options
Diffstat (limited to 'src/fragmentation/defragmentation.c')
-rw-r--r-- | src/fragmentation/defragmentation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fragmentation/defragmentation.c b/src/fragmentation/defragmentation.c index 50fc4a1d5..bc401435e 100644 --- a/src/fragmentation/defragmentation.c +++ b/src/fragmentation/defragmentation.c | |||
@@ -520,7 +520,7 @@ GNUNET_DEFRAGMENT_process_fragment (struct GNUNET_DEFRAGMENT_Context *dc, | |||
520 | { | 520 | { |
521 | mc->bits -= 1LLU << bit; | 521 | mc->bits -= 1LLU << bit; |
522 | mbuf = (char *) &mc[1]; | 522 | mbuf = (char *) &mc[1]; |
523 | memcpy (&mbuf[bit * (dc->mtu - sizeof (struct FragmentHeader))], &fh[1], | 523 | GNUNET_memcpy (&mbuf[bit * (dc->mtu - sizeof (struct FragmentHeader))], &fh[1], |
524 | ntohs (msg->size) - sizeof (struct FragmentHeader)); | 524 | ntohs (msg->size) - sizeof (struct FragmentHeader)); |
525 | mc->last_update = now; | 525 | mc->last_update = now; |
526 | if (bit < mc->last_bit) | 526 | if (bit < mc->last_bit) |