summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-standalone.c
diff options
context:
space:
mode:
authorVarsha Rao <rvarsha016@gmail.com>2017-03-30 00:57:43 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2017-04-06 18:23:09 +0200
commitb2a844760ec534e75bcc2dc513275cf0fed11468 (patch)
tree7b2ba405a2e2787ce699dad84b1b9416372776fb /iptables/iptables-standalone.c
parent2963a8df2175be68af6cafce83a8561aa4cf6244 (diff)
iptables: Remove unnecessary braces.
Remove braces which are not required, to fix the check patch issue. The following coccinelle script was used to fix this issue. @@ expression e; expression e1; @@ if(e) -{ e1; -} Signed-off-by: Varsha Rao <rvarsha016@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/iptables-standalone.c')
-rw-r--r--iptables/iptables-standalone.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/iptables/iptables-standalone.c b/iptables/iptables-standalone.c
index 4da1d7f8..c211fb73 100644
--- a/iptables/iptables-standalone.c
+++ b/iptables/iptables-standalone.c
@@ -73,9 +73,8 @@ iptables_main(int argc, char *argv[])
fprintf(stderr, "iptables: %s.\n",
iptc_strerror(errno));
}
- if (errno == EAGAIN) {
+ if (errno == EAGAIN)
exit(RESOURCE_PROBLEM);
- }
}
exit(!ret);