summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-29 12:02:14 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-29 12:02:14 +0000
commitbe1b624c2c69dd851924957499783b76b7225ff4 (patch)
tree5304c1cc80c1480e49d6088a68231ec53685c71f /usr.sbin
parent862d95a85cd356a57dc937c7ff26046eabe4bd01 (diff)
KNF
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c4
-rw-r--r--usr.sbin/bgpctl/parser.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 5323aa8ef06..3a575508c89 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.39 2004/01/27 22:11:23 henning Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.40 2004/01/29 12:02:13 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -212,7 +212,7 @@ main(int argc, char *argv[])
}
close(fd);
- exit (0);
+ exit(0);
}
void
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index 695ee28209a..18347638a3f 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.1 2004/01/21 23:45:18 henning Exp $ */
+/* $OpenBSD: parser.c,v 1.2 2004/01/29 12:02:13 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -137,9 +137,9 @@ parse(int argc, char *argv[])
if (match->type == NOTOKEN)
break;
-
+
if (match->next == NULL)
- break;
+ break;
table = match->next;
}