diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2005-03-12 10:49:13 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2005-03-12 10:49:13 +0000 |
commit | a78ad5a1d9c16074b62d0c381281538b45f10eee (patch) | |
tree | b1f7be3df8e32c208dd4ab8cfb8c94cc0010a63a /usr.sbin/ospfd/ospfe.c | |
parent | a2b1f75bc5734c85329d0734d0928b45b1c3de8c (diff) |
Small K&F.
ok henning@
Diffstat (limited to 'usr.sbin/ospfd/ospfe.c')
-rw-r--r-- | usr.sbin/ospfd/ospfe.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c index c42206230e0..fb4dff5441e 100644 --- a/usr.sbin/ospfd/ospfe.c +++ b/usr.sbin/ospfd/ospfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.c,v 1.9 2005/03/07 10:28:14 claudio Exp $ */ +/* $OpenBSD: ospfe.c,v 1.10 2005/03/12 10:49:12 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -551,7 +551,8 @@ orig_rtr_lsa(struct area *area) log_debug("orig_rtr_lsa: area %s", inet_ntoa(area->id)); - if ((buf = buf_dynamic(sizeof(lsa_hdr), READ_BUF_SIZE /* XXX */)) == NULL) + /* XXX READ_BUF_SIZE */ + if ((buf = buf_dynamic(sizeof(lsa_hdr), READ_BUF_SIZE)) == NULL) fatal("orig_rtr_lsa"); /* reserve space for LSA header and LSA Router header */ @@ -735,7 +736,8 @@ orig_net_lsa(struct iface *iface) log_debug("orig_net_lsa: iface %s", iface->name); - if ((buf = buf_dynamic(sizeof(lsa_hdr), READ_BUF_SIZE /* XXX */)) == NULL) + /* XXX READ_BUF_SIZE */ + if ((buf = buf_dynamic(sizeof(lsa_hdr), READ_BUF_SIZE)) == NULL) fatal("orig_net_lsa"); /* reserve space for LSA header and LSA Router header */ |