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

Cy Schubert cy at FreeBSD.org
Thu Jan 26 04:51:49 UTC 2017


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;


More information about the svn-src-all mailing list