timed(8): Add missing braces.
authorSascha Wildner <saw@online.de>
Thu, 14 Jun 2012 17:29:07 +0000 (19:29 +0200)
committerSascha Wildner <saw@online.de>
Thu, 14 Jun 2012 17:29:28 +0000 (19:29 +0200)
usr.sbin/timed/timed/timed.c

index 3a61c86..8adeaa4 100644 (file)
@@ -408,9 +408,10 @@ main(int argc, char *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);