diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-05-26 23:42:19 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-05-26 23:42:19 +0000 |
commit | cce76ad59fa7961f53fa15d8a1f2a3e09c9e4457 (patch) | |
tree | 20b647d2f859c35d3158ede3fac7a425990bf939 /usr.sbin/ospfd | |
parent | d71cfc8b905546a3fee3f378314b1d601f5bebcf (diff) |
Unnecessary ()
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r-- | usr.sbin/ospfd/lsack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/lsack.c b/usr.sbin/ospfd/lsack.c index 84e87df53fc..bd9f485236c 100644 --- a/usr.sbin/ospfd/lsack.c +++ b/usr.sbin/ospfd/lsack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsack.c,v 1.11 2005/05/26 20:00:14 norby Exp $ */ +/* $OpenBSD: lsack.c,v 1.12 2005/05/26 23:42:18 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -226,8 +226,8 @@ ls_ack_tx_timer(int fd, short event, void *arg) while (!ls_ack_list_empty(iface)) { ptr = buf; cnt = 0; - for (le = TAILQ_FIRST(&iface->ls_ack_list); (le != NULL) && - ((ptr - buf) < iface->mtu - PACKET_HDR); le = nle) { + for (le = TAILQ_FIRST(&iface->ls_ack_list); le != NULL && + (ptr - buf < iface->mtu - PACKET_HDR); le = nle) { nle = TAILQ_NEXT(le, entry); memcpy(ptr, le->le_lsa, sizeof(struct lsa_hdr)); ptr += sizeof(*lsa_hdr); |