]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Another minor codestyle fix
authorMartin Josefsson <gandalf@wlug.westbo.se>
Sat, 31 Jan 2004 19:41:49 +0000 (19:41 +0000)
committerMartin Josefsson <gandalf@wlug.westbo.se>
Sat, 31 Jan 2004 19:41:49 +0000 (19:41 +0000)
ip6tables-restore.c
iptables-restore.c

index 01f5e165955c7be0639e97e8b11f73f7574921df..287e86406e76c0facb9bcaa109f4c9d8b287d4e8 100644 (file)
@@ -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.15 2004/01/31 19:28:13 gandalf Exp $
+ * $Id: ip6tables-restore.c,v 1.16 2004/01/31 19:33:47 gandalf Exp $
  */
 
 #include <getopt.h>
@@ -164,7 +164,8 @@ int main(int argc, char *argv[])
                if (buffer[0] == '\n')
                        continue;
                else if (buffer[0] == '#') {
-                       if (verbose) fputs(buffer, stdout);
+                       if (verbose)
+                               fputs(buffer, stdout);
                        continue;
                } else if ((strcmp(buffer, "COMMIT\n") == 0) && (in_table)) {
                        DEBUGP("Calling commit\n");
index de367b9f117a0f2bdec5da430d64f1583f85c544..6ccf0b546356cb0495bcc26037638b8335ad5377 100644 (file)
@@ -4,7 +4,7 @@
  *
  * This code is distributed under the terms of GNU GPL v2
  *
- * $Id: iptables-restore.c,v 1.29 2004/01/31 19:28:13 gandalf Exp $
+ * $Id: iptables-restore.c,v 1.30 2004/01/31 19:33:47 gandalf Exp $
  */
 
 #include <getopt.h>
@@ -161,7 +161,8 @@ int main(int argc, char *argv[])
                if (buffer[0] == '\n')
                        continue;
                else if (buffer[0] == '#') {
-                       if (verbose) fputs(buffer, stdout);
+                       if (verbose)
+                               fputs(buffer, stdout);
                        continue;
                } else if ((strcmp(buffer, "COMMIT\n") == 0) && (in_table)) {
                        DEBUGP("Calling commit\n");