diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-07-10 19:16:07 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-07-10 19:16:07 +0000 |
commit | b18fea504f7375e2e3b77fd2bc2a12f688560258 (patch) | |
tree | 6bb0e0734f9db98d61e5e89858b6bb83c19a41d1 | |
parent | 4eba32241869b8346615ae607a6c2b6c5fa4af39 (diff) |
missing {}
-rw-r--r-- | usr.sbin/ntpd/client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/client.c b/usr.sbin/ntpd/client.c index 9c7de3fe35f..efe730e9bfe 100644 --- a/usr.sbin/ntpd/client.c +++ b/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 <henning@openbsd.org> @@ -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) |