diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2008-05-08 09:51:47 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2008-05-08 09:51:47 +0000 |
commit | f5c39f1cbbd59c6f590f8cdabcb747e5421e7493 (patch) | |
tree | e8419726791fdaf704456d4a040a0a88425068fe /usr.sbin | |
parent | 56110286408b67d35ff7ace756d1c347e9ef5489 (diff) |
KNF
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpd/rde_attr.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/rde_decide.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/timer.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/bgpd/rde_attr.c b/usr.sbin/bgpd/rde_attr.c index 54730c0077d..0c82726cc54 100644 --- a/usr.sbin/bgpd/rde_attr.c +++ b/usr.sbin/bgpd/rde_attr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_attr.c,v 1.75 2007/05/22 14:03:31 claudio Exp $ */ +/* $OpenBSD: rde_attr.c,v 1.76 2008/05/08 09:51:46 henning Exp $ */ /* * Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org> @@ -915,7 +915,7 @@ aspath_match(struct aspath *a, enum as_spec type, u_int32_t as) /* just check the final (rightmost) AS */ if (type == AS_SOURCE) { /* not yet in the final segment */ - if (!final) + if (!final) continue; if (as == aspath_extract(seg, seg_len - 1)) diff --git a/usr.sbin/bgpd/rde_decide.c b/usr.sbin/bgpd/rde_decide.c index 119a0066e93..963d95718be 100644 --- a/usr.sbin/bgpd/rde_decide.c +++ b/usr.sbin/bgpd/rde_decide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_decide.c,v 1.50 2008/05/02 13:53:19 claudio Exp $ */ +/* $OpenBSD: rde_decide.c,v 1.51 2008/05/08 09:51:46 henning Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -120,7 +120,7 @@ prefix_cmp(struct prefix *p1, struct prefix *p2) return (-1); if (!(p2->flags & F_LOCAL)) return (1); - + asp1 = p1->aspath; asp2 = p2->aspath; diff --git a/usr.sbin/bgpd/timer.c b/usr.sbin/bgpd/timer.c index 9ce2f894980..f83cc75b369 100644 --- a/usr.sbin/bgpd/timer.c +++ b/usr.sbin/bgpd/timer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timer.c,v 1.9 2008/05/08 07:59:56 henning Exp $ */ +/* $OpenBSD: timer.c,v 1.10 2008/05/08 09:51:46 henning Exp $ */ /* * Copyright (c) 2003-2007 Henning Brauer <henning@openbsd.org> @@ -124,7 +124,7 @@ timer_remove(struct peer *p, enum Timer timer) if (pt != NULL) { TAILQ_REMOVE(&p->timers, pt, entry); - free (pt); + free(pt); } } |