From 53c21a1af6a61d44b8a71d49570f805c17c0a043 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 14 Jun 2012 19:29:07 +0200 Subject: [PATCH] timed(8): Add missing braces. --- usr.sbin/timed/timed/timed.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/usr.sbin/timed/timed/timed.c b/usr.sbin/timed/timed/timed.c index 3a61c86..8adeaa4 100644 --- a/usr.sbin/timed/timed/timed.c +++ b/usr.sbin/timed/timed/timed.c @@ -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); -- 1.7.7.2