[Git][NTPsec/ntpsec][master] ntp_control: Fix stupid typo i nctl_putdbfl()
Gary E. Miller
gitlab at mg.gitlab.com
Mon Feb 4 21:10:34 UTC 2019
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
e2aef595 by Gary E. Miller at 2019-02-04T21:09:32Z
ntp_control: Fix stupid typo i nctl_putdbfl()
Missing "="
- - - - -
1 changed file:
- ntpd/ntp_control.c
Changes:
=====================================
ntpd/ntp_control.c
=====================================
@@ -1202,7 +1202,7 @@ ctl_putdblf(
char buf[50];
strlcpy(buffer, tag, sizeof(buffer));
- snprintf(buf, sizeof(buf), use_f ? "=%.*f" : "%.*g", precision, d);
+ snprintf(buf, sizeof(buf), use_f ? "=%.*f" : "=%.*g", precision, d);
strlcat(buffer, buf, sizeof(buffer));
ctl_putdata(buffer, strlen(buffer), false);
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e2aef595a3bba560eed850518bfc1bcb8ae92186
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e2aef595a3bba560eed850518bfc1bcb8ae92186
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20190204/79e9af89/attachment.html>
More information about the vc
mailing list