projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add format attribute to varargs functions
[collectd.git]
/
src
/
iptables.c
diff --git
a/src/iptables.c
b/src/iptables.c
index
1e35851
..
0103725
100644
(file)
--- a/
src/iptables.c
+++ b/
src/iptables.c
@@
-204,7
+204,7
@@
static int iptables_config (const char *key, const char *value)
table = NULL;
chain = NULL;
- list =
(ip_chain_t **)
realloc (chain_list, (chain_num + 1) * sizeof (ip_chain_t *));
+ list = realloc (chain_list, (chain_num + 1) * sizeof (ip_chain_t *));
if (list == NULL)
{
char errbuf[1024];