projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
network plugin: fd_num is unsigned
[collectd.git]
/
src
/
iptables.c
diff --git
a/src/iptables.c
b/src/iptables.c
index
05e3e24
..
1e35851
100644
(file)
--- a/
src/iptables.c
+++ b/
src/iptables.c
@@
-215,7
+215,7
@@
static int iptables_config (const char *key, const char *value)
}
chain_list = list;
- final =
(ip_chain_t *) malloc( sizeof(temp)
);
+ final =
malloc(sizeof (*final)
);
if (final == NULL)
{
char errbuf[1024];