fix comment about mq allocation
[oweals/gnunet.git] / src / util / helper.c
index ecfe4ccfa820ecb5912c9b759bce122e3e6598d8..cdb1b01d4fac5f59777d42c8de7a4c12fc741d9e 100644 (file)
@@ -669,7 +669,7 @@ GNUNET_HELPER_send (struct GNUNET_HELPER_Handle *h,
   mlen = ntohs (msg->size);
   sh = GNUNET_malloc (sizeof (struct GNUNET_HELPER_SendHandle) + mlen);
   sh->msg = (const struct GNUNET_MessageHeader*) &sh[1];
-  memcpy (&sh[1], msg, mlen);
+  GNUNET_memcpy (&sh[1], msg, mlen);
   sh->h = h;
   sh->cont = cont;
   sh->cont_cls = cont_cls;