From d85732044ebd4554274916d821c62129987ce68c Mon Sep 17 00:00:00 2001 From: henning <> Date: Sat, 10 Jul 2004 19:16:06 +0000 Subject: [PATCH] missing {} --- src/usr.sbin/ntpd/client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/usr.sbin/ntpd/client.c b/src/usr.sbin/ntpd/client.c index 9c7de3fe..efe730e9 100644 --- a/src/usr.sbin/ntpd/client.c +++ b/src/usr.sbin/ntpd/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.22 2004/07/10 19:09:13 henning Exp $ */ +/* $OpenBSD: client.c,v 1.23 2004/07/10 19:16:06 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -237,10 +237,11 @@ client_update(struct ntp_peer *p) p->reply[i].rcvd + REPLY_MAXAGE < time(NULL)) p->reply[i].good = 0; - if (p->reply[i].good) + if (p->reply[i].good) { good++; if (p->reply[i].delay < p->reply[best].delay) best = i; + } } if (good < 8)