diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-03-30 00:57:43 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-04-06 18:23:09 +0200 |
commit | b2a844760ec534e75bcc2dc513275cf0fed11468 (patch) | |
tree | 7b2ba405a2e2787ce699dad84b1b9416372776fb /iptables/xtables-standalone.c | |
parent | 2963a8df2175be68af6cafce83a8561aa4cf6244 (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/xtables-standalone.c')
-rw-r--r-- | iptables/xtables-standalone.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/iptables/xtables-standalone.c b/iptables/xtables-standalone.c index 355a4460..139c477f 100644 --- a/iptables/xtables-standalone.c +++ b/iptables/xtables-standalone.c @@ -85,9 +85,8 @@ xtables_main(int family, const char *progname, int argc, char *argv[]) fprintf(stderr, "iptables: %s.\n", nft_strerror(errno)); } - if (errno == EAGAIN) { + if (errno == EAGAIN) exit(RESOURCE_PROBLEM); - } } exit(!ret); |