Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
ent->fd = listen_sockets_pollfd[i].fd;
ent->next = NULL;
ent->fd = listen_sockets_pollfd[i].fd;
ent->next = NULL;
- /* Hopefully this be optimized out by the compiler. It
- * might help prevent stupid bugs in the future though.
- */
- assert (sizeof (ent->data) == sizeof (buffer));
-
memcpy (ent->data, buffer, buffer_len);
ent->data_len = buffer_len;
memcpy (ent->data, buffer, buffer_len);
ent->data_len = buffer_len;