summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgandalf <gandalf>2004-01-31 19:33:47 +0000
committergandalf <gandalf>2004-01-31 19:33:47 +0000
commitde730745c8af98210785d61ff0156b72cf774851 (patch)
tree964b2447f4d1777674e9f60d6a461be64c5f2cd4
parentcc0944fd84820fccc26fdbfc26ac1378181e8bc8 (diff)
Minor codestyle fix
-rw-r--r--ip6tables-restore.c5
-rw-r--r--iptables-restore.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/ip6tables-restore.c b/ip6tables-restore.c
index 7764081..01f5e16 100644
--- a/ip6tables-restore.c
+++ b/ip6tables-restore.c
@@ -7,7 +7,7 @@
* Rusty Russell <rusty@linuxcare.com.au>
* This code is distributed under the terms of GNU GPL v2
*
- * $Id: ip6tables-restore.c,v 1.14 2004/01/31 15:33:55 gandalf Exp $
+ * $Id: ip6tables-restore.c,v 1.15 2004/01/31 19:28:13 gandalf Exp $
*/
#include <getopt.h>
@@ -161,7 +161,8 @@ int main(int argc, char *argv[])
int ret;
line++;
- if (buffer[0] == '\n') continue;
+ if (buffer[0] == '\n')
+ continue;
else if (buffer[0] == '#') {
if (verbose) fputs(buffer, stdout);
continue;
diff --git a/iptables-restore.c b/iptables-restore.c
index fdff5b4..de367b9 100644
--- a/iptables-restore.c
+++ b/iptables-restore.c
@@ -4,7 +4,7 @@
*
* This code is distributed under the terms of GNU GPL v2
*
- * $Id: iptables-restore.c,v 1.28 2004/01/31 15:33:55 gandalf Exp $
+ * $Id: iptables-restore.c,v 1.29 2004/01/31 19:28:13 gandalf Exp $
*/
#include <getopt.h>
@@ -158,7 +158,8 @@ int main(int argc, char *argv[])
int ret = 0;
line++;
- if (buffer[0] == '\n') continue;
+ if (buffer[0] == '\n')
+ continue;
else if (buffer[0] == '#') {
if (verbose) fputs(buffer, stdout);
continue;