/*
This file is part of GNUnet.
- Copyright (C) 2010 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2010 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
/**
if (NULL == buf)
{
/* 'cl' should be freed via disconnect notification shortly */
- LOG (GNUNET_ERROR_TYPE_WARNING,
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
"Failed to transmit message from NC queue to client\n");
return 0;
}
"Copying message of type %u and size %u from pending queue to transmission buffer\n",
ntohs (pml->msg->type),
msize);
- memcpy (&cbuf[ret], pml->msg, msize);
+ GNUNET_memcpy (&cbuf[ret], pml->msg, msize);
ret += msize;
size -= msize;
GNUNET_free (pml);
ntohs (msg->type),
ntohs (msg->size),
(unsigned int) nc->queue_length);
- memcpy (&pml[1], msg, size);
+ GNUNET_memcpy (&pml[1], msg, size);
/* append */
GNUNET_CONTAINER_DLL_insert_tail (client->pending_head,
client->pending_tail,