projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36403bc
)
network plugin: Remove a now invalid assertion.
author
Aman Gupta
<aman@tmm1.net>
Thu, 20 Aug 2009 09:53:22 +0000
(11:53 +0200)
committer
Florian 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
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
156028e
..
c25c88d
100644
(file)
--- 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;