X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fiptables.c;h=0103725fa4a343fa712043a8f1a2162fd21a104e;hb=db35efb33e81d0a013e09a8a6ffa362ad5962f7c;hp=1e35851ab7ff49f14e8208a7ee4d6fe5f11e87d0;hpb=43aca8ed8b22a7a5a14f8c740948d6ce06efbc95;p=collectd.git diff --git a/src/iptables.c b/src/iptables.c index 1e35851a..0103725f 100644 --- 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];