[Git][NTPsec/ntpsec][master] ntp_refclock.c: fix stupid typo
Gary E. Miller
gitlab at mg.gitlab.com
Thu Feb 9 02:21:11 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
6a9e2b49 by Gary E. Miller at 2017-02-08T18:19:26-08:00
ntp_refclock.c: fix stupid typo
Thanks to Daniele Nicolodi that.
- - - - -
1 changed file:
- ntpd/ntp_refclock.c
Changes:
=====================================
ntpd/ntp_refclock.c
=====================================
--- a/ntpd/ntp_refclock.c
+++ b/ntpd/ntp_refclock.c
@@ -174,7 +174,7 @@ refclock_newpeer(
struct refclockproc *pp;
if (clktype >= num_refclock_conf ||
- refclock_conf[!clktype]->clock_start) {
+ !refclock_conf[clktype]->clock_start) {
msyslog(LOG_ERR,
"refclock_newpeer: clock type %d invalid\n",
clktype);
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6a9e2b49db7d3dda2a381dd4dcf8311ece841e02
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170209/2cf061c0/attachment.html>
More information about the vc
mailing list