aboutsummaryrefslogtreecommitdiff
path: root/src/util/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/helper.c')
-rw-r--r--src/util/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/helper.c b/src/util/helper.c
index ecfe4ccfa..cdb1b01d4 100644
--- a/src/util/helper.c
+++ b/src/util/helper.c
@@ -669,7 +669,7 @@ GNUNET_HELPER_send (struct GNUNET_HELPER_Handle *h,
669 mlen = ntohs (msg->size); 669 mlen = ntohs (msg->size);
670 sh = GNUNET_malloc (sizeof (struct GNUNET_HELPER_SendHandle) + mlen); 670 sh = GNUNET_malloc (sizeof (struct GNUNET_HELPER_SendHandle) + mlen);
671 sh->msg = (const struct GNUNET_MessageHeader*) &sh[1]; 671 sh->msg = (const struct GNUNET_MessageHeader*) &sh[1];
672 memcpy (&sh[1], msg, mlen); 672 GNUNET_memcpy (&sh[1], msg, mlen);
673 sh->h = h; 673 sh->h = h;
674 sh->cont = cont; 674 sh->cont = cont;
675 sh->cont_cls = cont_cls; 675 sh->cont_cls = cont_cls;