diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-15 18:39:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-04-15 18:39:31 +0000 |
commit | b1ac98abf9e700f03d5aa5f97c06dab605d6da06 (patch) | |
tree | c08a9624b4a539b85c5650bcf09528d13eb2d039 /sbin/isakmpd/genconstants.sh | |
parent | aeca45bc7d867b71e9600c7108674fae5db8ff9c (diff) |
partial move to KNF. More to come. This has happened because there
are a raft of source code auditors who are willing to help improve this
code only if this is done, and hey, isakmpd does need our standard
auditing process. ok ho hshoexer
Diffstat (limited to 'sbin/isakmpd/genconstants.sh')
-rw-r--r-- | sbin/isakmpd/genconstants.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/genconstants.sh b/sbin/isakmpd/genconstants.sh index 10217f25210..8332209f3a4 100644 --- a/sbin/isakmpd/genconstants.sh +++ b/sbin/isakmpd/genconstants.sh @@ -1,4 +1,4 @@ -# $OpenBSD: genconstants.sh,v 1.11 2003/06/03 14:28:16 ho Exp $ +# $OpenBSD: genconstants.sh,v 1.12 2004/04/15 18:39:25 deraadt Exp $ # $EOM: genconstants.sh,v 1.6 1999/04/02 01:15:53 niklas Exp $ # @@ -92,7 +92,7 @@ BEGIN { } /^\./ { - print " { 0, 0 }\n};\n" + print " { 0, 0 }\n};\n" next } @@ -103,7 +103,7 @@ BEGIN { } /^[ ]/ && $1 { - printf (" { %s_%s, \"%s\", %s }, \n", prefix, $1, $1, + printf (" { %s_%s, \"%s\", %s },\n", prefix, $1, $1, ($3 && substr($3,1,1) != "#") ? $3 : 0) next } |