From 70646e3d11ea5cc23e1a4aa2ee3ecc4af0dd36b8 Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 2 Feb 2021 17:53:02 +0000 Subject: [PATCH] KNF, move { up to if () statement --- sys/netinet6/ip6_output.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index 2cc065e5f0a..08fbda8b62d 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_output.c,v 1.251 2021/02/01 13:25:04 bluhm Exp $ */ +/* $OpenBSD: ip6_output.c,v 1.252 2021/02/02 17:53:02 claudio Exp $ */ /* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */ /* @@ -2071,8 +2071,7 @@ ip6_setmoptions(int optname, struct ip6_moptions **im6op, struct mbuf *m, } mreq = mtod(m, struct ipv6_mreq *); if (IN6_IS_ADDR_UNSPECIFIED(&mreq->ipv6mr_multiaddr)) { - if (suser(p)) - { + if (suser(p)) { error = EACCES; break; } -- 2.20.1