network plugin: Remove a now invalid assertion.
authorAman Gupta <aman@tmm1.net>
Thu, 20 Aug 2009 09:53:22 +0000 (11:53 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 20 Aug 2009 09:53:22 +0000 (11:53 +0200)
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/network.c

index 156028e..c25c88d 100644 (file)
@@ -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;