svn commit: r312780 - head/contrib/ipfilter/tools

Bruce Evans brde at optusnet.com.au
Thu Jan 26 03:50:51 UTC 2017


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


More information about the svn-src-head mailing list