summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-09-11 17:38:17 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-09-11 17:38:17 +0200
commit3578220cf27c3e7017dd8af6b17c08218cf632d0 (patch)
tree3dd0a57f443ba93ee4000c40917f2dfbf5646a6e /src
parentd95c2f1eb788c4ccb1ce6f4add61943dbb334f07 (diff)
Coding style fixes
Diffstat (limited to 'src')
-rw-r--r--src/ipset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipset.c b/src/ipset.c
index 1e69e3e..51b912a 100644
--- a/src/ipset.c
+++ b/src/ipset.c
@@ -136,11 +136,11 @@ ipset_parse_file(struct ipset_session *s UNUSED,
return exit_error(PARAMETER_PROBLEM,
"-file option can be specified once");
filename = str;
-
+
return 0;
}
-static
+static
int __attribute__ ((format (printf, 1, 2)))
ipset_print_file(const char *fmt, ...)
{
@@ -150,7 +150,7 @@ ipset_print_file(const char *fmt, ...)
assert(fd != NULL);
va_start(args, fmt);
len = vfprintf(fd, fmt, args);
- va_end(args);
+ va_end(args);
return len;
}