svn commit: r240626 - stable/9/usr.sbin/timed/timed

Kevin Lo kevlo at FreeBSD.org
Tue Sep 18 02:14:48 UTC 2012


Author: kevlo
Date: Tue Sep 18 02:14:47 2012
New Revision: 240626
URL: http://svn.freebsd.org/changeset/base/240626

Log:
  MFC r240388:
  Add missing braces
  
  Obtained from:	DragonFly

Modified:
  stable/9/usr.sbin/timed/timed/timed.c
Directory Properties:
  stable/9/usr.sbin/timed/timed/   (props changed)

Modified: stable/9/usr.sbin/timed/timed/timed.c
==============================================================================
--- stable/9/usr.sbin/timed/timed/timed.c	Tue Sep 18 01:27:24 2012	(r240625)
+++ stable/9/usr.sbin/timed/timed/timed.c	Tue Sep 18 02:14:47 2012	(r240626)
@@ -419,9 +419,10 @@ main(argc, argv)
 			justquit = 1;
 		}
 		for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
-			if (ntp->status == MASTER)
+			if (ntp->status == MASTER) {
 				rmnetmachs(ntp);
 				ntp->status = NOMASTER;
+			}
 		}
 		checkignorednets();
 		pickslavenet(0);


More information about the svn-src-all mailing list