From: claudio Date: Tue, 2 Feb 2021 17:53:02 +0000 (+0000) Subject: KNF, move { up to if () statement X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=70646e3d11ea5cc23e1a4aa2ee3ecc4af0dd36b8;p=openbsd KNF, move { up to if () statement --- 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; }