summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-05-03 04:44:42 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-05-03 04:44:42 +0000
commitf7f154acf56f5df54e624274b0f149947f987102 (patch)
tree17711029e903081f14a5766960c90bd59dce0cf9
parent6e88891651342c15d4d56feba77bed64f9209203 (diff)
little KNF issue
-rw-r--r--usr.sbin/bgpd/bgpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index e7397dcff80..891502d273e 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.91 2004/04/29 19:56:04 deraadt Exp $ */
+/* $OpenBSD: bgpd.c,v 1.92 2004/05/03 04:44:41 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -459,7 +459,8 @@ dispatch_imsg(struct imsgbuf *ibuf, int idx, struct mrt_head *mrt_l)
if (imsg.hdr.len != IMSG_HEADER_SIZE +
sizeof(struct bgpd_addr))
log_warnx("wrong imsg len");
- else kr_nexthop_delete(imsg.data);
+ else
+ kr_nexthop_delete(imsg.data);
break;
case IMSG_CTL_RELOAD:
if (idx != PFD_PIPE_SESSION)