From 08d06d7d5c2d3f9f52c6db183d7bd0678440906f Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Thu, 20 Aug 2009 11:53:22 +0200 Subject: [PATCH] network plugin: Remove a now invalid assertion. Signed-off-by: Florian Forster --- src/network.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/network.c b/src/network.c index 156028e2..c25c88d1 100644 --- a/src/network.c +++ b/src/network.c @@ -2075,11 +2075,6 @@ static int network_receive (void) /* {{{ */ 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; -- 2.11.0