diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2015-12-13 19:00:43 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2015-12-13 19:00:43 +0000 |
commit | a6f6deefd4bd5cd6e3306ac4c4a31260d2366feb (patch) | |
tree | 9256003970d2f10b2c181a99d089195736cfcb5c | |
parent | 8973b60b6258d05daf3d1c82142278ff48c0bacc (diff) |
Minor cosmetic changes.
-rw-r--r-- | usr.sbin/eigrpd/rde_dual.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.sbin/eigrpd/rde_dual.c b/usr.sbin/eigrpd/rde_dual.c index d8ab6bceb79..d79e9da50e1 100644 --- a/usr.sbin/eigrpd/rde_dual.c +++ b/usr.sbin/eigrpd/rde_dual.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_dual.c,v 1.10 2015/10/27 03:25:55 renato Exp $ */ +/* $OpenBSD: rde_dual.c,v 1.11 2015/12/13 19:00:42 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal <renato@openbsd.org> @@ -308,7 +308,7 @@ safe_sum_uint32(uint32_t a, uint32_t b) if (total >> 32) return ((uint32_t )(~0)); - return (total & 0xFFFFFFFF); + return ((uint32_t) total); } uint32_t @@ -1119,11 +1119,8 @@ rde_check_reply(struct rde_nbr *nbr, struct rinfo *ri, int siareply) } reply_outstanding_remove(reply); - if (!TAILQ_EMPTY(&rn->rijk)) - /* not last reply */ - return; - - rde_last_reply(rn); + if (TAILQ_EMPTY(&rn->rijk)) + rde_last_reply(rn); } void |