Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2017 04:51:48 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312791 - head/contrib/ipfilter/tools
Message-ID:  <201701260451.v0Q4pmib099407@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Jan 26 04:51:48 2017
New Revision: 312791
URL: https://svnweb.freebsd.org/changeset/base/312791

Log:
  Use normal KNF cuddling of elses.
  
  Reported by:	bde
  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	Thu Jan 26 04:44:18 2017	(r312790)
+++ head/contrib/ipfilter/tools/ipf.c	Thu Jan 26 04:51:48 2017	(r312791)
@@ -408,8 +408,7 @@ static void flushfilter(arg, filter)
 		}
 		closedevice();
 		return;
-	}
-	else if (strchr(arg, 'i') || strchr(arg, 'I'))
+	} else if (strchr(arg, 'i') || strchr(arg, 'I'))
 		fl = FR_INQUE;
 	else if (strchr(arg, 'o') || strchr(arg, 'O'))
 		fl = FR_OUTQUE;



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