Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 14:50:47 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Cy Schubert <cy@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r312780 - head/contrib/ipfilter/tools
Message-ID:  <20170126144726.U1265@besplex.bde.org>
In-Reply-To: <201701252059.v0PKxNsJ006302@repo.freebsd.org>
References:  <201701252059.v0PKxNsJ006302@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Jan 2017, Cy Schubert wrote:

> Log:
>  Remove extraneous blank line.
>
>  MFC after:	2 weeks
>  X-MFC with:	r312777
>
> Modified:
>  head/contrib/ipfilter/tools/ipf.c
>
> Modified: head/contrib/ipfilter/tools/ipf.c
> ==============================================================================
> --- head/contrib/ipfilter/tools/ipf.c	Wed Jan 25 20:59:06 2017	(r312779)
> +++ head/contrib/ipfilter/tools/ipf.c	Wed Jan 25 20:59:23 2017	(r312780)
> @@ -409,7 +409,6 @@ static void flushfilter(arg, filter)
> 		closedevice();
> 		return;
> 	}
> -
> 	else if (strchr(arg, 'i') || strchr(arg, 'I'))
> 		fl = FR_INQUE;
> 	else if (strchr(arg, 'o') || strchr(arg, 'O'))

Now it has 1 extra instead of 2 extra.

Most code in ipfilter, and all in the old version of this file, uses the
normal KNF style of cuddling elses.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170126144726.U1265>